Class CfnVectorBucketPolicyMixinProps
Properties for CfnVectorBucketPolicyPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.S3Vectors.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnVectorBucketPolicyMixinProps : ICfnVectorBucketPolicyMixinProps
Syntax (vb)
Public Class CfnVectorBucketPolicyMixinProps Implements ICfnVectorBucketPolicyMixinProps
Remarks
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.Mixins.Preview.AWS.S3Vectors.Mixins;
var policy;
var cfnVectorBucketPolicyMixinProps = new CfnVectorBucketPolicyMixinProps {
Policy = policy,
VectorBucketArn = "vectorBucketArn",
VectorBucketName = "vectorBucketName"
};
Synopsis
Constructors
| CfnVectorBucketPolicyMixinProps() | Properties for CfnVectorBucketPolicyPropsMixin. |
Properties
| Policy | A policy document containing permissions to add to the specified vector bucket. |
| VectorBucketArn | The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies. |
| VectorBucketName | The name of the S3 vector bucket to which the policy applies. |
Constructors
CfnVectorBucketPolicyMixinProps()
Properties for CfnVectorBucketPolicyPropsMixin.
public CfnVectorBucketPolicyMixinProps()
Remarks
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.Mixins.Preview.AWS.S3Vectors.Mixins;
var policy;
var cfnVectorBucketPolicyMixinProps = new CfnVectorBucketPolicyMixinProps {
Policy = policy,
VectorBucketArn = "vectorBucketArn",
VectorBucketName = "vectorBucketName"
};
Properties
Policy
A policy document containing permissions to add to the specified vector bucket.
public object? Policy { get; set; }
Property Value
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 .
VectorBucketArn
The Amazon Resource Name (ARN) of the S3 vector bucket to which the policy applies.
public string? VectorBucketArn { get; set; }
Property Value
Remarks
VectorBucketName
The name of the S3 vector bucket to which the policy applies.
public string? VectorBucketName { get; set; }