Skip to content
v2.276.0

CfnEnclaveCertificateIamRoleAssociationProps Struct ​

Properties for defining a CfnEnclaveCertificateIamRoleAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnEnclaveCertificateIamRoleAssociationProps: ec2.CfnEnclaveCertificateIamRoleAssociationProps = {
  certificateArn: 'certificateArn',
  roleArn: 'roleArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_enclave_certificate_iam_role_association_props = ec2.CfnEnclaveCertificateIamRoleAssociationProps(
    certificate_arn="certificateArn",
    role_arn="roleArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;

CfnEnclaveCertificateIamRoleAssociationProps cfnEnclaveCertificateIamRoleAssociationProps = CfnEnclaveCertificateIamRoleAssociationProps.builder()
        .certificateArn("certificateArn")
        .roleArn("roleArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

var cfnEnclaveCertificateIamRoleAssociationProps = new CfnEnclaveCertificateIamRoleAssociationProps {
    CertificateArn = "certificateArn",
    RoleArn = "roleArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnEnclaveCertificateIamRoleAssociationProps := &CfnEnclaveCertificateIamRoleAssociationProps{
	CertificateArn: jsii.String("certificateArn"),
	RoleArn: jsii.String("roleArn"),
}

Properties ​

certificateArnstringcertificate_arnstrcertificateArnStringCertificateArnstringCertificateArn*stringrequired#
The ARN of the ACM certificate with which to associate the IAM role.
roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*stringrequired#
The ARN of the IAM role to associate with the ACM certificate.

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