CfnAccessPointPropsMixin
- class aws_cdk.mixins_preview.aws_s3outposts.mixins.CfnAccessPointPropsMixin(props, *, strategy=None)
Bases:
MixinThe AWS::S3Outposts::AccessPoint resource specifies an access point and associates it with the specified Amazon S3 on Outposts bucket.
For more information, see Managing data access with Amazon S3 access points . .. epigraph:
S3 on Outposts supports only VPC-style access points.
- See:
- CloudformationResource:
AWS::S3Outposts::AccessPoint
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_s3outposts import mixins as s3outposts_mixins # policy: Any cfn_access_point_props_mixin = s3outposts_mixins.CfnAccessPointPropsMixin(s3outposts_mixins.CfnAccessPointMixinProps( bucket="bucket", name="name", policy=policy, vpc_configuration=s3outposts_mixins.CfnAccessPointPropsMixin.VpcConfigurationProperty( vpc_id="vpcId" ) ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::S3Outposts::AccessPoint.- Parameters:
props (
Union[CfnAccessPointMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['bucket', 'name', 'policy', 'vpcConfiguration']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
VpcConfigurationProperty
- class CfnAccessPointPropsMixin.VpcConfigurationProperty(*, vpc_id=None)
Bases:
objectContains the virtual private cloud (VPC) configuration for the specified access point.
- Parameters:
vpc_id (
Optional[str]) – Virtual Private Cloud (VPC) Id from which AccessPoint will allow requests.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_s3outposts import mixins as s3outposts_mixins vpc_configuration_property = s3outposts_mixins.CfnAccessPointPropsMixin.VpcConfigurationProperty( vpc_id="vpcId" )
Attributes
- vpc_id
Virtual Private Cloud (VPC) Id from which AccessPoint will allow requests.