MultipartUserDataOptions

class aws_cdk.aws_ec2.MultipartUserDataOptions(*, parts_separator=None)

Bases: object

Options for creating {@link MultipartUserData}.

Parameters:

parts_separator (Optional[str]) – The string used to separate parts in multipart user data archive (it’s like MIME boundary). This string should contain [a-zA-Z0-9()+,-./:=?] characters only, and should not be present in any part, or in text content of archive. Default: +AWS+CDK+User+Data+Separator==

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_ec2 as ec2

multipart_user_data_options = ec2.MultipartUserDataOptions(
    parts_separator="partsSeparator"
)

Attributes

parts_separator

The string used to separate parts in multipart user data archive (it’s like MIME boundary).

This string should contain [a-zA-Z0-9()+,-./:=?] characters only, and should not be present in any part, or in text content of archive.

Default:

+AWS+CDK+User+Data+Separator==