Show / Hide Table of Contents

Class CfnPolicyTemplatePropsMixin

Creates a policy template.

Inheritance
object
Mixin
CfnPolicyTemplatePropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.Mixins.Preview.AWS.VerifiedPermissions.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPolicyTemplatePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnPolicyTemplatePropsMixin Inherits Mixin Implements IMixin
Remarks

A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well.

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

CloudformationResource: AWS::VerifiedPermissions::PolicyTemplate

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.VerifiedPermissions.Mixins;

             var cfnPolicyTemplatePropsMixin = new CfnPolicyTemplatePropsMixin(new CfnPolicyTemplateMixinProps {
                 Description = "description",
                 PolicyStoreId = "policyStoreId",
                 Statement = "statement"
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Synopsis

Constructors

CfnPolicyTemplatePropsMixin(ICfnPolicyTemplateMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::VerifiedPermissions::PolicyTemplate.

Properties

CFN_PROPERTY_KEYS

Creates a policy template.

Props

Creates a policy template.

Strategy

Creates a policy template.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnPolicyTemplatePropsMixin(ICfnPolicyTemplateMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::VerifiedPermissions::PolicyTemplate.

public CfnPolicyTemplatePropsMixin(ICfnPolicyTemplateMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnPolicyTemplateMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well.

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

CloudformationResource: AWS::VerifiedPermissions::PolicyTemplate

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

Creates a policy template.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well.

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

CloudformationResource: AWS::VerifiedPermissions::PolicyTemplate

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.VerifiedPermissions.Mixins;

             var cfnPolicyTemplatePropsMixin = new CfnPolicyTemplatePropsMixin(new CfnPolicyTemplateMixinProps {
                 Description = "description",
                 PolicyStoreId = "policyStoreId",
                 Statement = "statement"
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Props

Creates a policy template.

protected virtual ICfnPolicyTemplateMixinProps Props { get; }
Property Value

ICfnPolicyTemplateMixinProps

Remarks

A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well.

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

CloudformationResource: AWS::VerifiedPermissions::PolicyTemplate

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.VerifiedPermissions.Mixins;

             var cfnPolicyTemplatePropsMixin = new CfnPolicyTemplatePropsMixin(new CfnPolicyTemplateMixinProps {
                 Description = "description",
                 PolicyStoreId = "policyStoreId",
                 Statement = "statement"
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Strategy

Creates a policy template.

protected virtual PropertyMergeStrategy Strategy { get; }
Property Value

PropertyMergeStrategy

Remarks

A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well.

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

CloudformationResource: AWS::VerifiedPermissions::PolicyTemplate

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.VerifiedPermissions.Mixins;

             var cfnPolicyTemplatePropsMixin = new CfnPolicyTemplatePropsMixin(new CfnPolicyTemplateMixinProps {
                 Description = "description",
                 PolicyStoreId = "policyStoreId",
                 Statement = "statement"
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override IConstruct ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Returns

IConstruct

Overrides
Mixin.ApplyTo(IConstruct)
Remarks

A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well.

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

CloudformationResource: AWS::VerifiedPermissions::PolicyTemplate

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

A template can use placeholders for the principal and resource. A template must be instantiated into a policy by associating it with specific principals and resources to use for the placeholders. That instantiated policy can then be considered in authorization decisions. The instantiated policy works identically to any other policy, except that it is dynamically linked to the template. If the template changes, then any policies that are linked to that template are immediately updated as well.

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

CloudformationResource: AWS::VerifiedPermissions::PolicyTemplate

Mixin: true

ExampleMetadata: fixture=_generated

Implements

IMixin
Back to top Generated by DocFX