CfnEnclaveCertificateIamRoleAssociationProps

class aws_cdk.aws_ec2.CfnEnclaveCertificateIamRoleAssociationProps(*, certificate_arn, role_arn)

Bases: object

Properties for defining a CfnEnclaveCertificateIamRoleAssociation.

Parameters
  • certificate_arn (str) – The ARN of the ACM certificate with which to associate the IAM role.

  • role_arn (str) – The ARN of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

cfn_enclave_certificate_iam_role_association_props = ec2.CfnEnclaveCertificateIamRoleAssociationProps(
    certificate_arn="certificateArn",
    role_arn="roleArn"
)

Attributes

certificate_arn

The ARN of the ACM certificate with which to associate the IAM role.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html#cfn-ec2-enclavecertificateiamroleassociation-certificatearn

Return type

str

role_arn

The ARN of the IAM role to associate with the ACM certificate.

You can associate up to 16 IAM roles with an ACM certificate.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html#cfn-ec2-enclavecertificateiamroleassociation-rolearn

Return type

str