CfnS3AccessPointAttachmentPropsMixin
- class aws_cdk.mixins_preview.aws_fsx.mixins.CfnS3AccessPointAttachmentPropsMixin(props, *, strategy=None)
Bases:
MixinAn S3 access point attached to an Amazon FSx volume.
- See:
- CloudformationResource:
AWS::FSx::S3AccessPointAttachment
- 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_fsx import mixins as fsx_mixins # policy: Any cfn_s3_access_point_attachment_props_mixin = fsx_mixins.CfnS3AccessPointAttachmentPropsMixin(fsx_mixins.CfnS3AccessPointAttachmentMixinProps( name="name", open_zfs_configuration=fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.S3AccessPointOpenZFSConfigurationProperty( file_system_identity=fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.OpenZFSFileSystemIdentityProperty( posix_user=fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.OpenZFSPosixFileSystemUserProperty( gid=123, secondary_gids=[fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.FileSystemGIDProperty( gid=123 )], uid=123 ), type="type" ), volume_id="volumeId" ), s3_access_point=fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.S3AccessPointProperty( alias="alias", policy=policy, resource_arn="resourceArn", vpc_configuration=fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.S3AccessPointVpcConfigurationProperty( vpc_id="vpcId" ) ), type="type" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::FSx::S3AccessPointAttachment.- Parameters:
props (
Union[CfnS3AccessPointAttachmentMixinProps,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 = ['name', 'openZfsConfiguration', 's3AccessPoint', 'type']
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
FileSystemGIDProperty
- class CfnS3AccessPointAttachmentPropsMixin.FileSystemGIDProperty(*, gid=None)
Bases:
objectThe GID of the file system user.
- Parameters:
gid (
Union[int,float,None]) – The GID of the file system user.- 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_fsx import mixins as fsx_mixins file_system_gIDProperty = fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.FileSystemGIDProperty( gid=123 )
Attributes
OpenZFSFileSystemIdentityProperty
- class CfnS3AccessPointAttachmentPropsMixin.OpenZFSFileSystemIdentityProperty(*, posix_user=None, type=None)
Bases:
objectSpecifies the file system user identity that will be used for authorizing all file access requests that are made using the S3 access point.
- Parameters:
posix_user (
Union[IResolvable,OpenZFSPosixFileSystemUserProperty,Dict[str,Any],None]) – Specifies the UID and GIDs of the file system POSIX user.type (
Optional[str]) – Specifies the FSx for OpenZFS user identity type, accepts onlyPOSIX.
- 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_fsx import mixins as fsx_mixins open_zFSFile_system_identity_property = fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.OpenZFSFileSystemIdentityProperty( posix_user=fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.OpenZFSPosixFileSystemUserProperty( gid=123, secondary_gids=[fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.FileSystemGIDProperty( gid=123 )], uid=123 ), type="type" )
Attributes
- posix_user
Specifies the UID and GIDs of the file system POSIX user.
- type
Specifies the FSx for OpenZFS user identity type, accepts only
POSIX.
OpenZFSPosixFileSystemUserProperty
- class CfnS3AccessPointAttachmentPropsMixin.OpenZFSPosixFileSystemUserProperty(*, gid=None, secondary_gids=None, uid=None)
Bases:
objectThe FSx for OpenZFS file system user that is used for authorizing all file access requests that are made using the S3 access point.
- Parameters:
gid (
Union[int,float,None]) – The GID of the file system user.secondary_gids (
Union[IResolvable,Sequence[Union[IResolvable,FileSystemGIDProperty,Dict[str,Any]]],None]) – The list of secondary GIDs for the file system user.uid (
Union[int,float,None]) – The UID of the file system user.
- 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_fsx import mixins as fsx_mixins open_zFSPosix_file_system_user_property = fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.OpenZFSPosixFileSystemUserProperty( gid=123, secondary_gids=[fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.FileSystemGIDProperty( gid=123 )], uid=123 )
Attributes
- gid
The GID of the file system user.
- secondary_gids
The list of secondary GIDs for the file system user.
S3AccessPointOpenZFSConfigurationProperty
- class CfnS3AccessPointAttachmentPropsMixin.S3AccessPointOpenZFSConfigurationProperty(*, file_system_identity=None, volume_id=None)
Bases:
objectDescribes the FSx for OpenZFS attachment configuration of an S3 access point attachment.
- Parameters:
file_system_identity (
Union[IResolvable,OpenZFSFileSystemIdentityProperty,Dict[str,Any],None]) – The file system identity used to authorize file access requests made using the S3 access point.volume_id (
Optional[str]) – The ID of the FSx for OpenZFS volume that the S3 access point is attached to.
- 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_fsx import mixins as fsx_mixins s3_access_point_open_zFSConfiguration_property = fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.S3AccessPointOpenZFSConfigurationProperty( file_system_identity=fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.OpenZFSFileSystemIdentityProperty( posix_user=fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.OpenZFSPosixFileSystemUserProperty( gid=123, secondary_gids=[fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.FileSystemGIDProperty( gid=123 )], uid=123 ), type="type" ), volume_id="volumeId" )
Attributes
- file_system_identity
The file system identity used to authorize file access requests made using the S3 access point.
- volume_id
The ID of the FSx for OpenZFS volume that the S3 access point is attached to.
S3AccessPointProperty
- class CfnS3AccessPointAttachmentPropsMixin.S3AccessPointProperty(*, alias=None, policy=None, resource_arn=None, vpc_configuration=None)
Bases:
objectDescribes the S3 access point configuration of the S3 access point attachment.
- Parameters:
alias (
Optional[str]) – The S3 access point’s alias.policy (
Any) – The S3 access point’s policy.resource_arn (
Optional[str]) – The S3 access point’s ARN.vpc_configuration (
Union[IResolvable,S3AccessPointVpcConfigurationProperty,Dict[str,Any],None]) – The S3 access point’s virtual private cloud (VPC) configuration.
- 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_fsx import mixins as fsx_mixins # policy: Any s3_access_point_property = fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.S3AccessPointProperty( alias="alias", policy=policy, resource_arn="resourceArn", vpc_configuration=fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.S3AccessPointVpcConfigurationProperty( vpc_id="vpcId" ) )
Attributes
- alias
The S3 access point’s alias.
- policy
The S3 access point’s policy.
- resource_arn
The S3 access point’s ARN.
- vpc_configuration
The S3 access point’s virtual private cloud (VPC) configuration.
S3AccessPointVpcConfigurationProperty
- class CfnS3AccessPointAttachmentPropsMixin.S3AccessPointVpcConfigurationProperty(*, vpc_id=None)
Bases:
objectIf included, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
- Parameters:
vpc_id (
Optional[str]) – Specifies the virtual private cloud (VPC) for the S3 access point VPC configuration, if one exists.- 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_fsx import mixins as fsx_mixins s3_access_point_vpc_configuration_property = fsx_mixins.CfnS3AccessPointAttachmentPropsMixin.S3AccessPointVpcConfigurationProperty( vpc_id="vpcId" )
Attributes
- vpc_id
Specifies the virtual private cloud (VPC) for the S3 access point VPC configuration, if one exists.