public static final class CfnPermission.Builder
extends java.lang.Object
CfnPermission
.Modifier and Type | Method and Description |
---|---|
CfnPermission.Builder |
actions(java.util.List<java.lang.String> actions)
The private CA actions that can be performed by the designated AWS service.
|
CfnPermission |
build() |
CfnPermission.Builder |
certificateAuthorityArn(java.lang.String certificateAuthorityArn)
The Amazon Resource Number (ARN) of the private CA from which the permission was issued.
|
static CfnPermission.Builder |
create(Construct scope,
java.lang.String id) |
CfnPermission.Builder |
principal(java.lang.String principal)
The AWS service or entity that holds the permission.
|
CfnPermission.Builder |
sourceAccount(java.lang.String sourceAccount)
The ID of the account that assigned the permission.
|
public static CfnPermission.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnPermission.Builder
.public CfnPermission.Builder actions(java.util.List<java.lang.String> actions)
Supported actions are IssueCertificate
, GetCertificate
, and ListPermissions
.
actions
- The private CA actions that can be performed by the designated AWS service. This parameter is required.this
public CfnPermission.Builder certificateAuthorityArn(java.lang.String certificateAuthorityArn)
certificateAuthorityArn
- The Amazon Resource Number (ARN) of the private CA from which the permission was issued. This parameter is required.this
public CfnPermission.Builder principal(java.lang.String principal)
At this time, the only valid principal is acm.amazonaws.com
.
principal
- The AWS service or entity that holds the permission. This parameter is required.this
public CfnPermission.Builder sourceAccount(java.lang.String sourceAccount)
sourceAccount
- The ID of the account that assigned the permission. This parameter is required.this
public CfnPermission build()