@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.227Z") @Stability(value=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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnProfilePermission.Builder
A fluent builder for
CfnProfilePermission. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnProfilePermission(software.constructs.Construct scope,
String id,
CfnProfilePermissionProps props)
Create a new `AWS::Signer::ProfilePermission`.
|
protected |
CfnProfilePermission(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnProfilePermission(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
The AWS Signer action permitted as part of cross-account permissions.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getPrincipal()
The AWS principal receiving cross-account permissions.
|
String |
getProfileName()
The human-readable name of the signing profile.
|
String |
getProfileVersion()
The version of the signing profile.
|
String |
getStatementId()
A unique identifier for the cross-account permission statement.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAction(String value)
The AWS Signer action permitted as part of cross-account permissions.
|
void |
setPrincipal(String value)
The AWS principal receiving cross-account permissions.
|
void |
setProfileName(String value)
The human-readable name of the signing profile.
|
void |
setProfileVersion(String value)
The version of the signing profile.
|
void |
setStatementId(String value)
A unique identifier for the cross-account permission statement.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnProfilePermission(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnProfilePermission(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnProfilePermission(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnProfilePermissionProps props)
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getAction()
@Stability(value=Stable)
public void setAction(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getPrincipal()
This may be an IAM role or another AWS account ID.
@Stability(value=Stable)
public void setPrincipal(@NotNull
String value)
This may be an IAM role or another AWS account ID.
@Stability(value=Stable) @NotNull public String getProfileName()
@Stability(value=Stable)
public void setProfileName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getStatementId()
@Stability(value=Stable)
public void setStatementId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getProfileVersion()
@Stability(value=Stable)
public void setProfileVersion(@Nullable
String value)
Copyright © 2022. All rights reserved.