Show / Hide Table of Contents

Class CfnBucketPolicyPropsMixin

The AWS::S3Express::BucketPolicy resource defines an Amazon S3 bucket policy to an Amazon S3 directory bucket.

Inheritance
object
Mixin
CfnBucketPolicyPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.S3Express
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnBucketPolicyPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnBucketPolicyPropsMixin Inherits Mixin Implements IMixin
Remarks
    To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's AWS account can perform the <code>GetBucketPolicy</code> , <code>PutBucketPolicy</code> , and <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and AWS Organizations policies.
    

    The required permissions for CloudFormation to use are based on the operations that are performed on the stack.

      For more information about example bucket policies, see Example bucket policies for S3 Express One Zone in the Amazon S3 User Guide .

      The following operations are related to AWS::S3Express::BucketPolicy :

        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html

        CloudformationResource: AWS::S3Express::BucketPolicy

        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.CfnPropertyMixins.AWS.S3Express;
                     using Amazon.CDK;
        
                     IMergeStrategy mergeStrategy;
                     var policyDocument;
        
                     var cfnBucketPolicyPropsMixin = new CfnBucketPolicyPropsMixin(new CfnBucketPolicyMixinProps {
                         Bucket = "bucket",
                         PolicyDocument = policyDocument
                     }, new CfnPropertyMixinOptions {
                         Strategy = mergeStrategy
                     });

        Synopsis

        Constructors

        CfnBucketPolicyPropsMixin(ICfnBucketPolicyMixinProps, ICfnPropertyMixinOptions?)

        Create a mixin to apply properties to AWS::S3Express::BucketPolicy.

        Properties

        CFN_PROPERTY_KEYS

        The AWS::S3Express::BucketPolicy resource defines an Amazon S3 bucket policy to an Amazon S3 directory bucket.

        Props

        The AWS::S3Express::BucketPolicy resource defines an Amazon S3 bucket policy to an Amazon S3 directory bucket.

        Strategy

        The AWS::S3Express::BucketPolicy resource defines an Amazon S3 bucket policy to an Amazon S3 directory bucket.

        Methods

        ApplyTo(IConstruct)

        Apply the mixin properties to the construct.

        Supports(IConstruct)

        Check if this mixin supports the given construct.

        Constructors

        CfnBucketPolicyPropsMixin(ICfnBucketPolicyMixinProps, ICfnPropertyMixinOptions?)

        Create a mixin to apply properties to AWS::S3Express::BucketPolicy.

        public CfnBucketPolicyPropsMixin(ICfnBucketPolicyMixinProps props, ICfnPropertyMixinOptions? options = null)
        Parameters
        props ICfnBucketPolicyMixinProps

        L1 properties to apply.

        options ICfnPropertyMixinOptions

        Mixin options.

        Remarks
          To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's AWS account can perform the <code>GetBucketPolicy</code> , <code>PutBucketPolicy</code> , and <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and AWS Organizations policies.
          

          The required permissions for CloudFormation to use are based on the operations that are performed on the stack.

            For more information about example bucket policies, see Example bucket policies for S3 Express One Zone in the Amazon S3 User Guide .

            The following operations are related to AWS::S3Express::BucketPolicy :

              See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html

              CloudformationResource: AWS::S3Express::BucketPolicy

              Mixin: true

              ExampleMetadata: fixture=_generated

              Properties

              CFN_PROPERTY_KEYS

              The AWS::S3Express::BucketPolicy resource defines an Amazon S3 bucket policy to an Amazon S3 directory bucket.

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

              string[]

              Remarks
                To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's AWS account can perform the <code>GetBucketPolicy</code> , <code>PutBucketPolicy</code> , and <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and AWS Organizations policies.
                

                The required permissions for CloudFormation to use are based on the operations that are performed on the stack.

                  For more information about example bucket policies, see Example bucket policies for S3 Express One Zone in the Amazon S3 User Guide .

                  The following operations are related to AWS::S3Express::BucketPolicy :

                    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html

                    CloudformationResource: AWS::S3Express::BucketPolicy

                    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.CfnPropertyMixins.AWS.S3Express;
                                 using Amazon.CDK;
                    
                                 IMergeStrategy mergeStrategy;
                                 var policyDocument;
                    
                                 var cfnBucketPolicyPropsMixin = new CfnBucketPolicyPropsMixin(new CfnBucketPolicyMixinProps {
                                     Bucket = "bucket",
                                     PolicyDocument = policyDocument
                                 }, new CfnPropertyMixinOptions {
                                     Strategy = mergeStrategy
                                 });

                    Props

                    The AWS::S3Express::BucketPolicy resource defines an Amazon S3 bucket policy to an Amazon S3 directory bucket.

                    protected virtual ICfnBucketPolicyMixinProps Props { get; }
                    Property Value

                    ICfnBucketPolicyMixinProps

                    Remarks
                      To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's AWS account can perform the <code>GetBucketPolicy</code> , <code>PutBucketPolicy</code> , and <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and AWS Organizations policies.
                      

                      The required permissions for CloudFormation to use are based on the operations that are performed on the stack.

                        For more information about example bucket policies, see Example bucket policies for S3 Express One Zone in the Amazon S3 User Guide .

                        The following operations are related to AWS::S3Express::BucketPolicy :

                          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html

                          CloudformationResource: AWS::S3Express::BucketPolicy

                          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.CfnPropertyMixins.AWS.S3Express;
                                       using Amazon.CDK;
                          
                                       IMergeStrategy mergeStrategy;
                                       var policyDocument;
                          
                                       var cfnBucketPolicyPropsMixin = new CfnBucketPolicyPropsMixin(new CfnBucketPolicyMixinProps {
                                           Bucket = "bucket",
                                           PolicyDocument = policyDocument
                                       }, new CfnPropertyMixinOptions {
                                           Strategy = mergeStrategy
                                       });

                          Strategy

                          The AWS::S3Express::BucketPolicy resource defines an Amazon S3 bucket policy to an Amazon S3 directory bucket.

                          protected virtual IMergeStrategy Strategy { get; }
                          Property Value

                          IMergeStrategy

                          Remarks
                            To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's AWS account can perform the <code>GetBucketPolicy</code> , <code>PutBucketPolicy</code> , and <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and AWS Organizations policies.
                            

                            The required permissions for CloudFormation to use are based on the operations that are performed on the stack.

                              For more information about example bucket policies, see Example bucket policies for S3 Express One Zone in the Amazon S3 User Guide .

                              The following operations are related to AWS::S3Express::BucketPolicy :

                                See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html

                                CloudformationResource: AWS::S3Express::BucketPolicy

                                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.CfnPropertyMixins.AWS.S3Express;
                                             using Amazon.CDK;
                                
                                             IMergeStrategy mergeStrategy;
                                             var policyDocument;
                                
                                             var cfnBucketPolicyPropsMixin = new CfnBucketPolicyPropsMixin(new CfnBucketPolicyMixinProps {
                                                 Bucket = "bucket",
                                                 PolicyDocument = policyDocument
                                             }, new CfnPropertyMixinOptions {
                                                 Strategy = mergeStrategy
                                             });

                                Methods

                                ApplyTo(IConstruct)

                                Apply the mixin properties to the construct.

                                public override void ApplyTo(IConstruct construct)
                                Parameters
                                construct IConstruct
                                Overrides
                                Mixin.ApplyTo(IConstruct)
                                Remarks
                                  To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's AWS account can perform the <code>GetBucketPolicy</code> , <code>PutBucketPolicy</code> , and <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and AWS Organizations policies.
                                  

                                  The required permissions for CloudFormation to use are based on the operations that are performed on the stack.

                                    For more information about example bucket policies, see Example bucket policies for S3 Express One Zone in the Amazon S3 User Guide .

                                    The following operations are related to AWS::S3Express::BucketPolicy :

                                      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html

                                      CloudformationResource: AWS::S3Express::BucketPolicy

                                      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
                                        To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's AWS account can perform the <code>GetBucketPolicy</code> , <code>PutBucketPolicy</code> , and <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and AWS Organizations policies.
                                        

                                        The required permissions for CloudFormation to use are based on the operations that are performed on the stack.

                                          For more information about example bucket policies, see Example bucket policies for S3 Express One Zone in the Amazon S3 User Guide .

                                          The following operations are related to AWS::S3Express::BucketPolicy :

                                            See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html

                                            CloudformationResource: AWS::S3Express::BucketPolicy

                                            Mixin: true

                                            ExampleMetadata: fixture=_generated

                                            Implements

                                            Constructs.IMixin
                                            Back to top Generated by DocFX