Class CfnResourcePolicyPropsMixin
Amazon Lex V2 is the only supported version in CloudFormation .
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnResourcePolicyPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnResourcePolicyPropsMixin Inherits Mixin Implements IMixin
Remarks
Specifies a new resource policy with the specified policy statements.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html
CloudformationResource: AWS::Lex::ResourcePolicy
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.Lex.Mixins;
var policy;
var cfnResourcePolicyPropsMixin = new CfnResourcePolicyPropsMixin(new CfnResourcePolicyMixinProps {
Policy = policy,
ResourceArn = "resourceArn"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnResourcePolicyPropsMixin(ICfnResourcePolicyMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Amazon Lex V2 is the only supported version in CloudFormation . |
| Props | Amazon Lex V2 is the only supported version in CloudFormation . |
| Strategy | Amazon Lex V2 is the only supported version in CloudFormation . |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnResourcePolicyPropsMixin(ICfnResourcePolicyMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Lex::ResourcePolicy.
public CfnResourcePolicyPropsMixin(ICfnResourcePolicyMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnResourcePolicyMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
Specifies a new resource policy with the specified policy statements.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html
CloudformationResource: AWS::Lex::ResourcePolicy
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Amazon Lex V2 is the only supported version in CloudFormation .
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
Specifies a new resource policy with the specified policy statements.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html
CloudformationResource: AWS::Lex::ResourcePolicy
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.Lex.Mixins;
var policy;
var cfnResourcePolicyPropsMixin = new CfnResourcePolicyPropsMixin(new CfnResourcePolicyMixinProps {
Policy = policy,
ResourceArn = "resourceArn"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Amazon Lex V2 is the only supported version in CloudFormation .
protected virtual ICfnResourcePolicyMixinProps Props { get; }
Property Value
Remarks
Specifies a new resource policy with the specified policy statements.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html
CloudformationResource: AWS::Lex::ResourcePolicy
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.Lex.Mixins;
var policy;
var cfnResourcePolicyPropsMixin = new CfnResourcePolicyPropsMixin(new CfnResourcePolicyMixinProps {
Policy = policy,
ResourceArn = "resourceArn"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Amazon Lex V2 is the only supported version in CloudFormation .
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
Specifies a new resource policy with the specified policy statements.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html
CloudformationResource: AWS::Lex::ResourcePolicy
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.Lex.Mixins;
var policy;
var cfnResourcePolicyPropsMixin = new CfnResourcePolicyPropsMixin(new CfnResourcePolicyMixinProps {
Policy = policy,
ResourceArn = "resourceArn"
}, 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
Remarks
Specifies a new resource policy with the specified policy statements.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html
CloudformationResource: AWS::Lex::ResourcePolicy
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
Overrides
Remarks
Specifies a new resource policy with the specified policy statements.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html
CloudformationResource: AWS::Lex::ResourcePolicy
Mixin: true
ExampleMetadata: fixture=_generated