Class CfnEnclaveCertificateIamRoleAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnEnclaveCertificateIamRoleAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnclaveCertificateIamRoleAssociation>
- Enclosing class:
CfnEnclaveCertificateIamRoleAssociation
@Stability(Stable)
public static final class CfnEnclaveCertificateIamRoleAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnclaveCertificateIamRoleAssociation>
A fluent builder for
CfnEnclaveCertificateIamRoleAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
certificateArn
(String certificateArn) The ARN of the ACM certificate with which to associate the IAM role.The ARN of the IAM role to associate with the ACM certificate.
-
Method Details
-
create
@Stability(Stable) public static CfnEnclaveCertificateIamRoleAssociation.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnEnclaveCertificateIamRoleAssociation.Builder
.
-
certificateArn
@Stability(Stable) public CfnEnclaveCertificateIamRoleAssociation.Builder certificateArn(String certificateArn) The ARN of the ACM certificate with which to associate the IAM role.- Parameters:
certificateArn
- The ARN of the ACM certificate with which to associate the IAM role. This parameter is required.- Returns:
this
-
roleArn
The ARN of the IAM role to associate with the ACM certificate.You can associate up to 16 IAM roles with an ACM certificate.
- Parameters:
roleArn
- The ARN of the IAM role to associate with the ACM certificate. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnclaveCertificateIamRoleAssociation>
- Returns:
- a newly built instance of
CfnEnclaveCertificateIamRoleAssociation
.
-