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 Details

    • create

      @Stability(Stable) public static CfnProfilePermission.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnProfilePermission.Builder.
    • action

      @Stability(Stable) public CfnProfilePermission.Builder action(String 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

      @Stability(Stable) public CfnProfilePermission.Builder principal(String 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

      @Stability(Stable) public CfnProfilePermission.Builder profileName(String 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

      @Stability(Stable) public CfnProfilePermission.Builder statementId(String 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

      @Stability(Stable) public CfnProfilePermission.Builder profileVersion(String profileVersion)
      The version of the signing profile.

      Parameters:
      profileVersion - The version of the signing profile. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnProfilePermission build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnProfilePermission>
      Returns:
      a newly built instance of CfnProfilePermission.