Show / Hide Table of Contents

Class CfnBucketPropsMixin.OwnershipControlsProperty

Specifies the container element for Object Ownership rules.

Inheritance
object
CfnBucketPropsMixin.OwnershipControlsProperty
Implements
CfnBucketPropsMixin.IOwnershipControlsProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.S3
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnBucketPropsMixin.OwnershipControlsProperty : CfnBucketPropsMixin.IOwnershipControlsProperty
Syntax (vb)
Public Class CfnBucketPropsMixin.OwnershipControlsProperty Implements CfnBucketPropsMixin.IOwnershipControlsProperty
Remarks

S3 Object Ownership is an Amazon S3 bucket-level setting that you can use to disable access control lists (ACLs) and take ownership of every object in your bucket, simplifying access management for data stored in Amazon S3. For more information, see Controlling ownership of objects and disabling ACLs in the Amazon S3 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-ownershipcontrols.html

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.S3;

             var ownershipControlsProperty = new OwnershipControlsProperty {
                 Rules = new [] { new OwnershipControlsRuleProperty {
                     ObjectOwnership = "objectOwnership"
                 } }
             };

Synopsis

Constructors

OwnershipControlsProperty()

Specifies the container element for Object Ownership rules.

Properties

Rules

Specifies the container element for Object Ownership rules.

Constructors

OwnershipControlsProperty()

Specifies the container element for Object Ownership rules.

public OwnershipControlsProperty()
Remarks

S3 Object Ownership is an Amazon S3 bucket-level setting that you can use to disable access control lists (ACLs) and take ownership of every object in your bucket, simplifying access management for data stored in Amazon S3. For more information, see Controlling ownership of objects and disabling ACLs in the Amazon S3 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-ownershipcontrols.html

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.S3;

             var ownershipControlsProperty = new OwnershipControlsProperty {
                 Rules = new [] { new OwnershipControlsRuleProperty {
                     ObjectOwnership = "objectOwnership"
                 } }
             };

Properties

Rules

Specifies the container element for Object Ownership rules.

public object? Rules { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-ownershipcontrols.html#cfn-s3-bucket-ownershipcontrols-rules

Type union: either IResolvable or (either IResolvable or CfnBucketPropsMixin.IOwnershipControlsRuleProperty)[]

Implements

CfnBucketPropsMixin.IOwnershipControlsProperty
Back to top Generated by DocFX