Class CfnProfilePermission
A CloudFormation AWS::Signer::ProfilePermission
.
public class CfnProfilePermission : CfnResource, IInspectable
- Inheritance
-
CfnProfilePermission
- Implements
-
IInspectable
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"
});
Remarks
Adds cross-account permissions to a signing profile.
CloudformationResource: AWS::Signer::ProfilePermission
ExampleMetadata: fixture=_generated
Constructors
CfnProfilePermission(Construct, string, ICfnProfilePermissionProps)
Create a new AWS::Signer::ProfilePermission
.
public CfnProfilePermission(Construct scope, string id, ICfnProfilePermissionProps props)
Parameters
scope
Construct- scope in which this resource is defined.
id
string- scoped id of the resource.
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
Remarks
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Principal
The AWS principal receiving cross-account permissions.
public virtual string Principal { get; set; }
Property Value
Remarks
This may be an IAM role or another AWS account ID.
ProfileName
The human-readable name of the signing profile.
public virtual string ProfileName { get; set; }
Property Value
Remarks
ProfileVersion
The version of the signing profile.
public virtual string? ProfileVersion { get; set; }
Property Value
Remarks
StatementId
A unique identifier for the cross-account permission statement.
public virtual string StatementId { get; set; }
Property Value
Remarks
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
IDictionary<string, object>