Class: AWSCDK::MediaPackage::CfnPackagingGroup::AuthorizationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaPackage::CfnPackagingGroup::AuthorizationProperty
- Defined in:
- media_package/cfn_packaging_group.rb
Overview
Parameters for enabling CDN authorization.
Instance Attribute Summary collapse
-
#cdn_identifier_secret ⇒ String
readonly
The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
-
#secrets_role_arn ⇒ String
readonly
The Amazon Resource Name (ARN) for the IAM role that allows AWS Elemental MediaPackage to communicate with AWS Secrets Manager .
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cdn_identifier_secret:, secrets_role_arn:) ⇒ AuthorizationProperty
constructor
A new instance of AuthorizationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cdn_identifier_secret:, secrets_role_arn:) ⇒ AuthorizationProperty
Returns a new instance of AuthorizationProperty.
571 572 573 574 575 576 |
# File 'media_package/cfn_packaging_group.rb', line 571 def initialize(cdn_identifier_secret:, secrets_role_arn:) @cdn_identifier_secret = cdn_identifier_secret Jsii::Type.check_type(@cdn_identifier_secret, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cdnIdentifierSecret") @secrets_role_arn = secrets_role_arn Jsii::Type.check_type(@secrets_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretsRoleArn") end |
Instance Attribute Details
#cdn_identifier_secret ⇒ String (readonly)
The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
582 583 584 |
# File 'media_package/cfn_packaging_group.rb', line 582 def cdn_identifier_secret @cdn_identifier_secret end |
#secrets_role_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) for the IAM role that allows AWS Elemental MediaPackage to communicate with AWS Secrets Manager .
587 588 589 |
# File 'media_package/cfn_packaging_group.rb', line 587 def secrets_role_arn @secrets_role_arn end |
Class Method Details
.jsii_properties ⇒ Object
589 590 591 592 593 594 |
# File 'media_package/cfn_packaging_group.rb', line 589 def self.jsii_properties { :cdn_identifier_secret => "cdnIdentifierSecret", :secrets_role_arn => "secretsRoleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
596 597 598 599 600 601 602 603 |
# File 'media_package/cfn_packaging_group.rb', line 596 def to_jsii result = {} result.merge!({ "cdnIdentifierSecret" => @cdn_identifier_secret, "secretsRoleArn" => @secrets_role_arn, }) result.compact end |