Show / Hide Table of Contents

Class CfnBucket.OwnershipControlsRuleProperty

Specifies an Object Ownership rule.

Inheritance
System.Object
CfnBucket.OwnershipControlsRuleProperty
Implements
CfnBucket.IOwnershipControlsRuleProperty
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class OwnershipControlsRuleProperty : Object, CfnBucket.IOwnershipControlsRuleProperty
Syntax (vb)
Public Class OwnershipControlsRuleProperty
    Inherits Object
    Implements CfnBucket.IOwnershipControlsRuleProperty
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-ownershipcontrolsrule.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;

OwnershipControlsRuleProperty ownershipControlsRuleProperty = new OwnershipControlsRuleProperty {
    ObjectOwnership = "objectOwnership"
};

Synopsis

Constructors

OwnershipControlsRuleProperty()

Properties

ObjectOwnership

Specifies an Object Ownership rule.

Constructors

OwnershipControlsRuleProperty()

public OwnershipControlsRuleProperty()

Properties

ObjectOwnership

Specifies an Object Ownership rule.

public string ObjectOwnership { get; set; }
Property Value

System.String

Remarks

Allowed values : BucketOwnerEnforced | ObjectWriter | BucketOwnerPreferred

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

Implements

CfnBucket.IOwnershipControlsRuleProperty
Back to top Generated by DocFX