Class CfnProfilePermission.Builder
java.lang.Object
software.amazon.awscdk.services.signer.CfnProfilePermission.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfilePermission>
- Enclosing class:
- CfnProfilePermission
@Stability(Stable)
public static final class CfnProfilePermission.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfilePermission>
A fluent builder for
CfnProfilePermission.-
Method Summary
Modifier and TypeMethodDescriptionThe AWS Signer action permitted as part of cross-account permissions.build()static CfnProfilePermission.BuilderThe AWS principal receiving cross-account permissions.profileName(String profileName) The human-readable name of the signing profile.profileVersion(String profileVersion) The version of the signing profile.statementId(String statementId) A unique identifier for the cross-account permission statement.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnProfilePermission.Builder.
-
action
The AWS Signer action permitted as part of cross-account permissions.- Parameters:
action- The AWS Signer action permitted as part of cross-account permissions. This parameter is required.- Returns:
this
-
principal
The AWS principal receiving cross-account permissions.This may be an IAM role or another AWS account ID.
- Parameters:
principal- The AWS principal receiving cross-account permissions. This parameter is required.- Returns:
this
-
profileName
The human-readable name of the signing profile.- Parameters:
profileName- The human-readable name of the signing profile. This parameter is required.- Returns:
this
-
statementId
A unique identifier for the cross-account permission statement.- Parameters:
statementId- A unique identifier for the cross-account permission statement. This parameter is required.- Returns:
this
-
profileVersion
The version of the signing profile.- Parameters:
profileVersion- The version of the signing profile. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProfilePermission>- Returns:
- a newly built instance of
CfnProfilePermission.
-