CfnMultiRegionAccessPointPolicyProps

class aws_cdk.aws_s3.CfnMultiRegionAccessPointPolicyProps(*, mrap_name, policy)

Bases: object

Properties for defining a CfnMultiRegionAccessPointPolicy.

Parameters
  • mrap_name (str) – The name of the Multi-Region Access Point.

  • policy (Any) – The access policy associated with the Multi-Region Access Point.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspointpolicy.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_s3 as s3

# policy: Any

cfn_multi_region_access_point_policy_props = s3.CfnMultiRegionAccessPointPolicyProps(
    mrap_name="mrapName",
    policy=policy
)

Attributes

mrap_name

The name of the Multi-Region Access Point.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspointpolicy.html#cfn-s3-multiregionaccesspointpolicy-mrapname

Return type

str

policy

The access policy associated with the Multi-Region Access Point.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspointpolicy.html#cfn-s3-multiregionaccesspointpolicy-policy

Return type

Any