CfnMultiRegionAccessPointPolicyProps Struct
Properties for defining a CfnMultiRegionAccessPointPolicy.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
declare const policy: any;
const cfnMultiRegionAccessPointPolicyProps: s3.CfnMultiRegionAccessPointPolicyProps = {
mrapName: 'mrapName',
policy: policy,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3 as s3
# policy: Any
cfn_multi_region_access_point_policy_props = s3.CfnMultiRegionAccessPointPolicyProps(
mrap_name="mrapName",
policy=policy
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;
Object policy;
CfnMultiRegionAccessPointPolicyProps cfnMultiRegionAccessPointPolicyProps = CfnMultiRegionAccessPointPolicyProps.builder()
.mrapName("mrapName")
.policy(policy)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var policy;
var cfnMultiRegionAccessPointPolicyProps = new CfnMultiRegionAccessPointPolicyProps {
MrapName = "mrapName",
Policy = policy
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var policy interface{}
cfnMultiRegionAccessPointPolicyProps := &CfnMultiRegionAccessPointPolicyProps{
MrapName: jsii.String("mrapName"),
Policy: policy,
}