Show / Hide Table of Contents

Interface CfnBucket.IOwnershipControlsProperty

Specifies the container element for Object Ownership rules.

Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public interface IOwnershipControlsProperty
Syntax (vb)
Public Interface 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 .

Link: 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.AWS.S3;

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

Synopsis

Properties

Rules

Specifies the container element for Object Ownership rules.

Properties

Rules

Specifies the container element for Object Ownership rules.

object Rules { get; }
Property Value

System.Object

Remarks

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

Back to top Generated by DocFX