Class CfnProfilePermission

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:25.009Z") @Stability(Stable) public class CfnProfilePermission extends CfnResource implements IInspectable
Adds cross-account permissions to a signing profile.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.signer.*;
 CfnProfilePermission cfnProfilePermission = CfnProfilePermission.Builder.create(this, "MyCfnProfilePermission")
         .action("action")
         .principal("principal")
         .profileName("profileName")
         .statementId("statementId")
         // the properties below are optional
         .profileVersion("profileVersion")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnProfilePermission

      protected CfnProfilePermission(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnProfilePermission

      protected CfnProfilePermission(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnProfilePermission

      @Stability(Stable) public CfnProfilePermission(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnProfilePermissionProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getAction

      @Stability(Stable) @NotNull public String getAction()
      The AWS Signer action permitted as part of cross-account permissions.
    • setAction

      @Stability(Stable) public void setAction(@NotNull String value)
      The AWS Signer action permitted as part of cross-account permissions.
    • getPrincipal

      @Stability(Stable) @NotNull public String getPrincipal()
      The AWS principal receiving cross-account permissions.
    • setPrincipal

      @Stability(Stable) public void setPrincipal(@NotNull String value)
      The AWS principal receiving cross-account permissions.
    • getProfileName

      @Stability(Stable) @NotNull public String getProfileName()
      The human-readable name of the signing profile.
    • setProfileName

      @Stability(Stable) public void setProfileName(@NotNull String value)
      The human-readable name of the signing profile.
    • getStatementId

      @Stability(Stable) @NotNull public String getStatementId()
      A unique identifier for the cross-account permission statement.
    • setStatementId

      @Stability(Stable) public void setStatementId(@NotNull String value)
      A unique identifier for the cross-account permission statement.
    • getProfileVersion

      @Stability(Stable) @Nullable public String getProfileVersion()
      The version of the signing profile.
    • setProfileVersion

      @Stability(Stable) public void setProfileVersion(@Nullable String value)
      The version of the signing profile.