Class CfnMultiRegionAccessPointPolicyPropsMixin
Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.S3.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnMultiRegionAccessPointPolicyPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnMultiRegionAccessPointPolicyPropsMixin Inherits Mixin Implements IMixin
Remarks
It is not possible to delete an access policy for a Multi-Region Access Point from the CloudFormation template. When you attempt to delete the policy, CloudFormation updates the policy using DeletionPolicy:Retain and UpdateReplacePolicy:Retain . CloudFormation updates the policy to only allow access to the account that created the bucket.
CloudformationResource: AWS::S3::MultiRegionAccessPointPolicy
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.S3.Mixins;
var policy;
var cfnMultiRegionAccessPointPolicyPropsMixin = new CfnMultiRegionAccessPointPolicyPropsMixin(new CfnMultiRegionAccessPointPolicyMixinProps {
MrapName = "mrapName",
Policy = policy
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnMultiRegionAccessPointPolicyPropsMixin(ICfnMultiRegionAccessPointPolicyMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point. |
| Props | Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point. |
| Strategy | Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnMultiRegionAccessPointPolicyPropsMixin(ICfnMultiRegionAccessPointPolicyMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::S3::MultiRegionAccessPointPolicy.
public CfnMultiRegionAccessPointPolicyPropsMixin(ICfnMultiRegionAccessPointPolicyMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnMultiRegionAccessPointPolicyMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
It is not possible to delete an access policy for a Multi-Region Access Point from the CloudFormation template. When you attempt to delete the policy, CloudFormation updates the policy using DeletionPolicy:Retain and UpdateReplacePolicy:Retain . CloudFormation updates the policy to only allow access to the account that created the bucket.
CloudformationResource: AWS::S3::MultiRegionAccessPointPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
It is not possible to delete an access policy for a Multi-Region Access Point from the CloudFormation template. When you attempt to delete the policy, CloudFormation updates the policy using DeletionPolicy:Retain and UpdateReplacePolicy:Retain . CloudFormation updates the policy to only allow access to the account that created the bucket.
CloudformationResource: AWS::S3::MultiRegionAccessPointPolicy
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.S3.Mixins;
var policy;
var cfnMultiRegionAccessPointPolicyPropsMixin = new CfnMultiRegionAccessPointPolicyPropsMixin(new CfnMultiRegionAccessPointPolicyMixinProps {
MrapName = "mrapName",
Policy = policy
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point.
protected virtual ICfnMultiRegionAccessPointPolicyMixinProps Props { get; }
Property Value
ICfnMultiRegionAccessPointPolicyMixinProps
Remarks
It is not possible to delete an access policy for a Multi-Region Access Point from the CloudFormation template. When you attempt to delete the policy, CloudFormation updates the policy using DeletionPolicy:Retain and UpdateReplacePolicy:Retain . CloudFormation updates the policy to only allow access to the account that created the bucket.
CloudformationResource: AWS::S3::MultiRegionAccessPointPolicy
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.S3.Mixins;
var policy;
var cfnMultiRegionAccessPointPolicyPropsMixin = new CfnMultiRegionAccessPointPolicyPropsMixin(new CfnMultiRegionAccessPointPolicyMixinProps {
MrapName = "mrapName",
Policy = policy
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
It is not possible to delete an access policy for a Multi-Region Access Point from the CloudFormation template. When you attempt to delete the policy, CloudFormation updates the policy using DeletionPolicy:Retain and UpdateReplacePolicy:Retain . CloudFormation updates the policy to only allow access to the account that created the bucket.
CloudformationResource: AWS::S3::MultiRegionAccessPointPolicy
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.S3.Mixins;
var policy;
var cfnMultiRegionAccessPointPolicyPropsMixin = new CfnMultiRegionAccessPointPolicyPropsMixin(new CfnMultiRegionAccessPointPolicyMixinProps {
MrapName = "mrapName",
Policy = policy
}, 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
It is not possible to delete an access policy for a Multi-Region Access Point from the CloudFormation template. When you attempt to delete the policy, CloudFormation updates the policy using DeletionPolicy:Retain and UpdateReplacePolicy:Retain . CloudFormation updates the policy to only allow access to the account that created the bucket.
CloudformationResource: AWS::S3::MultiRegionAccessPointPolicy
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
It is not possible to delete an access policy for a Multi-Region Access Point from the CloudFormation template. When you attempt to delete the policy, CloudFormation updates the policy using DeletionPolicy:Retain and UpdateReplacePolicy:Retain . CloudFormation updates the policy to only allow access to the account that created the bucket.
CloudformationResource: AWS::S3::MultiRegionAccessPointPolicy
Mixin: true
ExampleMetadata: fixture=_generated