Class CfnPermission.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnPermission.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermission>
- Enclosing class:
- CfnPermission
@Stability(Stable)
public static final class CfnPermission.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermission>
A fluent builder for
CfnPermission
.-
Method Summary
Modifier and TypeMethodDescriptionThe private CA actions that can be performed by the designated AWS service.build()
certificateAuthorityArn
(String certificateAuthorityArn) The Amazon Resource Number (ARN) of the private CA from which the permission was issued.static CfnPermission.Builder
The AWS service or entity that holds the permission.sourceAccount
(String sourceAccount) The ID of the account that assigned the permission.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnPermission.Builder
.
-
actions
The private CA actions that can be performed by the designated AWS service.Supported actions are
IssueCertificate
,GetCertificate
, andListPermissions
.- Parameters:
actions
- The private CA actions that can be performed by the designated AWS service. This parameter is required.- Returns:
this
-
certificateAuthorityArn
@Stability(Stable) public CfnPermission.Builder certificateAuthorityArn(String certificateAuthorityArn) The Amazon Resource Number (ARN) of the private CA from which the permission was issued.- Parameters:
certificateAuthorityArn
- The Amazon Resource Number (ARN) of the private CA from which the permission was issued. This parameter is required.- Returns:
this
-
principal
The AWS service or entity that holds the permission.At this time, the only valid principal is
acm.amazonaws.com
.- Parameters:
principal
- The AWS service or entity that holds the permission. This parameter is required.- Returns:
this
-
sourceAccount
The ID of the account that assigned the permission.- Parameters:
sourceAccount
- The ID of the account that assigned the permission. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPermission>
- Returns:
- a newly built instance of
CfnPermission
.
-