Show / Hide Table of Contents

Class CfnPolicyMixinProps

Properties for CfnPolicyPropsMixin.

Inheritance
object
CfnPolicyMixinProps
Implements
ICfnPolicyMixinProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.VerifiedPermissions
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPolicyMixinProps : ICfnPolicyMixinProps
Syntax (vb)
Public Class CfnPolicyMixinProps Implements ICfnPolicyMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policy.html

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.CfnPropertyMixins.AWS.VerifiedPermissions;

             var cfnPolicyMixinProps = new CfnPolicyMixinProps {
                 Definition = new PolicyDefinitionProperty {
                     Static = new StaticPolicyDefinitionProperty {
                         Description = "description",
                         Statement = "statement"
                     },
                     TemplateLinked = new TemplateLinkedPolicyDefinitionProperty {
                         PolicyTemplateId = "policyTemplateId",
                         Principal = new EntityIdentifierProperty {
                             EntityId = "entityId",
                             EntityType = "entityType"
                         },
                         Resource = new EntityIdentifierProperty {
                             EntityId = "entityId",
                             EntityType = "entityType"
                         }
                     }
                 },
                 PolicyStoreId = "policyStoreId"
             };

Synopsis

Constructors

CfnPolicyMixinProps()

Properties for CfnPolicyPropsMixin.

Properties

Definition

Specifies the policy type and content to use for the new or updated policy.

PolicyStoreId

Specifies the PolicyStoreId of the policy store you want to store the policy in.

Constructors

CfnPolicyMixinProps()

Properties for CfnPolicyPropsMixin.

public CfnPolicyMixinProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policy.html

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.CfnPropertyMixins.AWS.VerifiedPermissions;

             var cfnPolicyMixinProps = new CfnPolicyMixinProps {
                 Definition = new PolicyDefinitionProperty {
                     Static = new StaticPolicyDefinitionProperty {
                         Description = "description",
                         Statement = "statement"
                     },
                     TemplateLinked = new TemplateLinkedPolicyDefinitionProperty {
                         PolicyTemplateId = "policyTemplateId",
                         Principal = new EntityIdentifierProperty {
                             EntityId = "entityId",
                             EntityType = "entityType"
                         },
                         Resource = new EntityIdentifierProperty {
                             EntityId = "entityId",
                             EntityType = "entityType"
                         }
                     }
                 },
                 PolicyStoreId = "policyStoreId"
             };

Properties

Definition

Specifies the policy type and content to use for the new or updated policy.

public object? Definition { get; set; }
Property Value

object

Remarks

The definition structure must include either a Static or a TemplateLinked element.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policy.html#cfn-verifiedpermissions-policy-definition

Type union: either IResolvable or CfnPolicyPropsMixin.IPolicyDefinitionProperty

PolicyStoreId

Specifies the PolicyStoreId of the policy store you want to store the policy in.

public string? PolicyStoreId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policy.html#cfn-verifiedpermissions-policy-policystoreid

Implements

ICfnPolicyMixinProps
Back to top Generated by DocFX