Class CfnProfilePermission

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.802Z") @Stability(Stable) public class CfnProfilePermission extends CfnResource implements IInspectable
A CloudFormation AWS::Signer::ProfilePermission.

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();
 
  • 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 Construct scope, @NotNull String id, @NotNull CfnProfilePermissionProps props)
      Create a new AWS::Signer::ProfilePermission.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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.

      This may be an IAM role or another AWS account ID.

    • setPrincipal

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

      This may be an IAM role or another AWS account ID.

    • 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.