Class CfnAuthPolicyPropsMixin
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAuthPolicyPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnAuthPolicyPropsMixin Inherits Mixin Implements IMixin
Remarks
For more information, see Auth policies in the Amazon VPC Lattice User Guide .
CloudformationResource: AWS::VpcLattice::AuthPolicy
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.VpcLattice.Mixins;
var policy;
var cfnAuthPolicyPropsMixin = new CfnAuthPolicyPropsMixin(new CfnAuthPolicyMixinProps {
Policy = policy,
ResourceIdentifier = "resourceIdentifier"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnAuthPolicyPropsMixin(ICfnAuthPolicyMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines. |
| Props | Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines. |
| Strategy | Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnAuthPolicyPropsMixin(ICfnAuthPolicyMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::VpcLattice::AuthPolicy.
public CfnAuthPolicyPropsMixin(ICfnAuthPolicyMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnAuthPolicyMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
For more information, see Auth policies in the Amazon VPC Lattice User Guide .
CloudformationResource: AWS::VpcLattice::AuthPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
For more information, see Auth policies in the Amazon VPC Lattice User Guide .
CloudformationResource: AWS::VpcLattice::AuthPolicy
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.VpcLattice.Mixins;
var policy;
var cfnAuthPolicyPropsMixin = new CfnAuthPolicyPropsMixin(new CfnAuthPolicyMixinProps {
Policy = policy,
ResourceIdentifier = "resourceIdentifier"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
protected virtual ICfnAuthPolicyMixinProps Props { get; }
Property Value
Remarks
For more information, see Auth policies in the Amazon VPC Lattice User Guide .
CloudformationResource: AWS::VpcLattice::AuthPolicy
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.VpcLattice.Mixins;
var policy;
var cfnAuthPolicyPropsMixin = new CfnAuthPolicyPropsMixin(new CfnAuthPolicyMixinProps {
Policy = policy,
ResourceIdentifier = "resourceIdentifier"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
For more information, see Auth policies in the Amazon VPC Lattice User Guide .
CloudformationResource: AWS::VpcLattice::AuthPolicy
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.VpcLattice.Mixins;
var policy;
var cfnAuthPolicyPropsMixin = new CfnAuthPolicyPropsMixin(new CfnAuthPolicyMixinProps {
Policy = policy,
ResourceIdentifier = "resourceIdentifier"
}, 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
For more information, see Auth policies in the Amazon VPC Lattice User Guide .
CloudformationResource: AWS::VpcLattice::AuthPolicy
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
For more information, see Auth policies in the Amazon VPC Lattice User Guide .
CloudformationResource: AWS::VpcLattice::AuthPolicy
Mixin: true
ExampleMetadata: fixture=_generated