Show / Hide Table of Contents

Class CfnBucketPolicyMixinProps

Properties for CfnBucketPolicyPropsMixin.

Inheritance
object
CfnBucketPolicyMixinProps
Implements
ICfnBucketPolicyMixinProps
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.S3Outposts
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnBucketPolicyMixinProps : ICfnBucketPolicyMixinProps
Syntax (vb)
Public Class CfnBucketPolicyMixinProps Implements ICfnBucketPolicyMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucketpolicy.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.S3Outposts;

             var policyDocument;

             var cfnBucketPolicyMixinProps = new CfnBucketPolicyMixinProps {
                 Bucket = "bucket",
                 PolicyDocument = policyDocument
             };

Synopsis

Constructors

CfnBucketPolicyMixinProps()

Properties for CfnBucketPolicyPropsMixin.

Properties

Bucket

The name of the Amazon S3 Outposts bucket to which the policy applies.

PolicyDocument

A policy document containing permissions to add to the specified bucket.

Constructors

CfnBucketPolicyMixinProps()

Properties for CfnBucketPolicyPropsMixin.

public CfnBucketPolicyMixinProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucketpolicy.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.S3Outposts;

             var policyDocument;

             var cfnBucketPolicyMixinProps = new CfnBucketPolicyMixinProps {
                 Bucket = "bucket",
                 PolicyDocument = policyDocument
             };

Properties

Bucket

The name of the Amazon S3 Outposts bucket to which the policy applies.

public string? Bucket { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucketpolicy.html#cfn-s3outposts-bucketpolicy-bucket

PolicyDocument

A policy document containing permissions to add to the specified bucket.

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

object

Remarks

In IAM, you must provide policy documents in JSON format. However, in CloudFormation, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM. For more information, see the AWS::IAM::Policy PolicyDocument resource description in this guide and Access Policy Language Overview .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucketpolicy.html#cfn-s3outposts-bucketpolicy-policydocument

Implements

ICfnBucketPolicyMixinProps
Back to top Generated by DocFX