Class: AWSCDK::EC2::CfnEnclaveCertificateIAMRoleAssociationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnEnclaveCertificateIAMRoleAssociationProps
- Defined in:
- ec2/cfn_enclave_certificate_iam_role_association_props.rb
Overview
Properties for defining a CfnEnclaveCertificateIamRoleAssociation.
Instance Attribute Summary collapse
-
#certificate_arn ⇒ String
readonly
The ARN of the ACM certificate with which to associate the IAM role.
-
#role_arn ⇒ String
readonly
The ARN of the IAM role to associate with the ACM certificate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_arn:, role_arn:) ⇒ CfnEnclaveCertificateIAMRoleAssociationProps
constructor
A new instance of CfnEnclaveCertificateIAMRoleAssociationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_arn:, role_arn:) ⇒ CfnEnclaveCertificateIAMRoleAssociationProps
Returns a new instance of CfnEnclaveCertificateIAMRoleAssociationProps.
11 12 13 14 15 16 |
# File 'ec2/cfn_enclave_certificate_iam_role_association_props.rb', line 11 def initialize(certificate_arn:, role_arn:) @certificate_arn = certificate_arn Jsii::Type.check_type(@certificate_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateArn") @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") end |
Instance Attribute Details
#certificate_arn ⇒ String (readonly)
The ARN of the ACM certificate with which to associate the IAM role.
22 23 24 |
# File 'ec2/cfn_enclave_certificate_iam_role_association_props.rb', line 22 def certificate_arn @certificate_arn end |
#role_arn ⇒ String (readonly)
The ARN of the IAM role to associate with the ACM certificate.
You can associate up to 16 IAM roles with an ACM certificate.
29 30 31 |
# File 'ec2/cfn_enclave_certificate_iam_role_association_props.rb', line 29 def role_arn @role_arn end |
Class Method Details
.jsii_properties ⇒ Object
31 32 33 34 35 36 |
# File 'ec2/cfn_enclave_certificate_iam_role_association_props.rb', line 31 def self.jsii_properties { :certificate_arn => "certificateArn", :role_arn => "roleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'ec2/cfn_enclave_certificate_iam_role_association_props.rb', line 38 def to_jsii result = {} result.merge!({ "certificateArn" => @certificate_arn, "roleArn" => @role_arn, }) result.compact end |