CfnFileSystemPropsMixin

class aws_cdk.cfn_property_mixins.aws_s3files.CfnFileSystemPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource 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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ExpirationDataRuleProperty

class CfnFileSystemPropsMixin.ExpirationDataRuleProperty(*, days_after_last_access=None)

Bases: object

Parameters:

days_after_last_access (Union[int, float, None])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-expirationdatarule.html

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

days_after_last_access

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-expirationdatarule.html#cfn-s3files-filesystem-expirationdatarule-daysafterlastaccess

Type:

see

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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-importdatarule.html

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-importdatarule.html#cfn-s3files-filesystem-importdatarule-prefix

Type:

see

size_less_than

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-importdatarule.html#cfn-s3files-filesystem-importdatarule-sizelessthan

Type:

see

trigger

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-importdatarule.html#cfn-s3files-filesystem-importdatarule-trigger

Type:

see

SynchronizationConfigurationProperty

class CfnFileSystemPropsMixin.SynchronizationConfigurationProperty(*, expiration_data_rules=None, import_data_rules=None, latest_version_number=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-synchronizationconfiguration.html

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-synchronizationconfiguration.html#cfn-s3files-filesystem-synchronizationconfiguration-expirationdatarules

Type:

see

import_data_rules

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-synchronizationconfiguration.html#cfn-s3files-filesystem-synchronizationconfiguration-importdatarules

Type:

see

latest_version_number

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3files-filesystem-synchronizationconfiguration.html#cfn-s3files-filesystem-synchronizationconfiguration-latestversionnumber

Type:

see