Class: AWSCDK::MediaPackage::CfnOriginEndpoint::AuthorizationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaPackage::CfnOriginEndpoint::AuthorizationProperty
- Defined in:
- media_package/cfn_origin_endpoint.rb
Overview
Parameters for enabling CDN authorization on the endpoint.
Instance Attribute Summary collapse
-
#cdn_identifier_secret ⇒ String
readonly
The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that your Content Delivery Network (CDN) uses for authorization to access your endpoint.
-
#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.
706 707 708 709 710 711 |
# File 'media_package/cfn_origin_endpoint.rb', line 706 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 your Content Delivery Network (CDN) uses for authorization to access your endpoint.
717 718 719 |
# File 'media_package/cfn_origin_endpoint.rb', line 717 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 .
722 723 724 |
# File 'media_package/cfn_origin_endpoint.rb', line 722 def secrets_role_arn @secrets_role_arn end |
Class Method Details
.jsii_properties ⇒ Object
724 725 726 727 728 729 |
# File 'media_package/cfn_origin_endpoint.rb', line 724 def self.jsii_properties { :cdn_identifier_secret => "cdnIdentifierSecret", :secrets_role_arn => "secretsRoleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
731 732 733 734 735 736 737 738 |
# File 'media_package/cfn_origin_endpoint.rb', line 731 def to_jsii result = {} result.merge!({ "cdnIdentifierSecret" => @cdn_identifier_secret, "secretsRoleArn" => @secrets_role_arn, }) result.compact end |