CfnFileSystemPropsMixin
- class aws_cdk.cfn_property_mixins.aws_s3files.CfnFileSystemPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::S3Files::FileSystem.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3files-filesystem.html
- CloudformationResource:
AWS::S3Files::FileSystem
- 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.cfn_property_mixins import aws_s3files as s3files import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_file_system_props_mixin = s3files.CfnFileSystemPropsMixin(s3files.CfnFileSystemMixinProps( accept_bucket_warning=False, bucket="bucket", client_token="clientToken", kms_key_id="kmsKeyId", prefix="prefix", role_arn="roleArn", synchronization_configuration=s3files.CfnFileSystemPropsMixin.SynchronizationConfigurationProperty( expiration_data_rules=[s3files.CfnFileSystemPropsMixin.ExpirationDataRuleProperty( days_after_last_access=123 )], import_data_rules=[s3files.CfnFileSystemPropsMixin.ImportDataRuleProperty( prefix="prefix", size_less_than=123, trigger="trigger" )], latest_version_number=123 ), tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::S3Files::FileSystem.- Parameters:
props (
Union[CfnFileSystemMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['acceptBucketWarning', 'bucket', 'clientToken', 'kmsKeyId', 'prefix', 'roleArn', 'synchronizationConfiguration', 'tags']
Static Methods
- classmethod is_mixin(x)
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.
ExpirationDataRuleProperty
- class CfnFileSystemPropsMixin.ExpirationDataRuleProperty(*, days_after_last_access=None)
Bases:
object- Parameters:
days_after_last_access (
Union[int,float,None])- 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.cfn_property_mixins import aws_s3files as s3files expiration_data_rule_property = s3files.CfnFileSystemPropsMixin.ExpirationDataRuleProperty( days_after_last_access=123 )
Attributes
ImportDataRuleProperty
- class CfnFileSystemPropsMixin.ImportDataRuleProperty(*, prefix=None, size_less_than=None, trigger=None)
Bases:
object- Parameters:
prefix (
Optional[str])size_less_than (
Union[int,float,None])trigger (
Optional[str])
- 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.cfn_property_mixins import aws_s3files as s3files import_data_rule_property = s3files.CfnFileSystemPropsMixin.ImportDataRuleProperty( prefix="prefix", size_less_than=123, trigger="trigger" )
Attributes
- prefix
-
- Type:
see
- size_less_than
-
- Type:
see
SynchronizationConfigurationProperty
- class CfnFileSystemPropsMixin.SynchronizationConfigurationProperty(*, expiration_data_rules=None, import_data_rules=None, latest_version_number=None)
Bases:
object- Parameters:
expiration_data_rules (
Union[IResolvable,Sequence[Union[IResolvable,ExpirationDataRuleProperty,Dict[str,Any]]],None])import_data_rules (
Union[IResolvable,Sequence[Union[IResolvable,ImportDataRuleProperty,Dict[str,Any]]],None])latest_version_number (
Union[int,float,None])
- 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.cfn_property_mixins import aws_s3files as s3files synchronization_configuration_property = s3files.CfnFileSystemPropsMixin.SynchronizationConfigurationProperty( expiration_data_rules=[s3files.CfnFileSystemPropsMixin.ExpirationDataRuleProperty( days_after_last_access=123 )], import_data_rules=[s3files.CfnFileSystemPropsMixin.ImportDataRuleProperty( prefix="prefix", size_less_than=123, trigger="trigger" )], latest_version_number=123 )
Attributes
- expiration_data_rules
-
- Type:
see
- import_data_rules
-
- Type:
see