Table of Contents

Class CfnProfilePermission

Namespace
Amazon.CDK.AWS.Signer
Assembly
Amazon.CDK.AWS.Signer.dll

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html

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

string

Remarks

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }

Property Value

string

CfnProperties

protected override IDictionary<string, object> CfnProperties { get; }

Property Value

IDictionary<string, object>

Principal

The AWS principal receiving cross-account permissions.

public virtual string Principal { get; set; }

Property Value

string

Remarks

ProfileName

The human-readable name of the signing profile.

public virtual string ProfileName { get; set; }

Property Value

string

Remarks

ProfileVersion

The version of the signing profile.

public virtual string? ProfileVersion { get; set; }

Property Value

string

Remarks

StatementId

A unique identifier for the cross-account permission statement.

public virtual string StatementId { get; set; }

Property Value

string

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>

Returns

IDictionary<string, object>