Class CfnProfilePermission
Adds cross-account permissions to a signing profile.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Signer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnProfilePermission : CfnResource, IInspectable
Syntax (vb)
Public Class CfnProfilePermission
Inherits CfnResource
Implements IInspectable
Remarks
CloudformationResource: AWS::Signer::ProfilePermission
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Signer;
var cfnProfilePermission = new CfnProfilePermission(this, "MyCfnProfilePermission", new CfnProfilePermissionProps {
Action = "action",
Principal = "principal",
ProfileName = "profileName",
StatementId = "statementId",
// the properties below are optional
ProfileVersion = "profileVersion"
});
Synopsis
Constructors
CfnProfilePermission(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnProfilePermission(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnProfilePermission(Construct, String, ICfnProfilePermissionProps) |
Properties
Action | The AWS Signer action permitted as part of cross-account permissions. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Principal | The AWS principal receiving cross-account permissions. |
ProfileName | The human-readable name of the signing profile. |
ProfileVersion | The version of the signing profile. |
StatementId | A unique identifier for the cross-account permission statement. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnProfilePermission(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnProfilePermission(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnProfilePermission(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnProfilePermission(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnProfilePermission(Construct, String, ICfnProfilePermissionProps)
public CfnProfilePermission(Construct scope, string id, ICfnProfilePermissionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnProfilePermissionProps
Resource properties.
Properties
Action
The AWS Signer action permitted as part of cross-account permissions.
public virtual string Action { get; set; }
Property Value
System.String
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Principal
The AWS principal receiving cross-account permissions.
public virtual string Principal { get; set; }
Property Value
System.String
ProfileName
The human-readable name of the signing profile.
public virtual string ProfileName { get; set; }
Property Value
System.String
ProfileVersion
The version of the signing profile.
public virtual string ProfileVersion { get; set; }
Property Value
System.String
StatementId
A unique identifier for the cross-account permission statement.
public virtual string StatementId { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>