CfnAppBlockProps

class aws_cdk.aws_appstream.CfnAppBlockProps(*, name, source_s3_location, description=None, display_name=None, packaging_type=None, post_setup_script_details=None, setup_script_details=None, tags=None)

Bases: object

Properties for defining a CfnAppBlock.

Parameters:
  • name (str) – The name of the app block. Pattern : ^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$

  • source_s3_location (Union[IResolvable, S3LocationProperty, Dict[str, Any]]) – The source S3 location of the app block.

  • description (Optional[str]) – The description of the app block.

  • display_name (Optional[str]) – The display name of the app block.

  • packaging_type (Optional[str]) – The packaging type of the app block.

  • post_setup_script_details (Union[IResolvable, ScriptDetailsProperty, Dict[str, Any], None]) – The post setup script details of the app block.

  • setup_script_details (Union[IResolvable, ScriptDetailsProperty, Dict[str, Any], None]) – The setup script details of the app block.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags of the app block.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.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 import aws_appstream as appstream

cfn_app_block_props = appstream.CfnAppBlockProps(
    name="name",
    source_s3_location=appstream.CfnAppBlock.S3LocationProperty(
        s3_bucket="s3Bucket",

        # the properties below are optional
        s3_key="s3Key"
    ),

    # the properties below are optional
    description="description",
    display_name="displayName",
    packaging_type="packagingType",
    post_setup_script_details=appstream.CfnAppBlock.ScriptDetailsProperty(
        executable_path="executablePath",
        script_s3_location=appstream.CfnAppBlock.S3LocationProperty(
            s3_bucket="s3Bucket",

            # the properties below are optional
            s3_key="s3Key"
        ),
        timeout_in_seconds=123,

        # the properties below are optional
        executable_parameters="executableParameters"
    ),
    setup_script_details=appstream.CfnAppBlock.ScriptDetailsProperty(
        executable_path="executablePath",
        script_s3_location=appstream.CfnAppBlock.S3LocationProperty(
            s3_bucket="s3Bucket",

            # the properties below are optional
            s3_key="s3Key"
        ),
        timeout_in_seconds=123,

        # the properties below are optional
        executable_parameters="executableParameters"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

The description of the app block.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-description

display_name

The display name of the app block.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-displayname

name

The name of the app block.

Pattern : ^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-name

packaging_type

The packaging type of the app block.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-packagingtype

post_setup_script_details

The post setup script details of the app block.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-postsetupscriptdetails

setup_script_details

The setup script details of the app block.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-setupscriptdetails

source_s3_location

The source S3 location of the app block.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-sources3location

tags

The tags of the app block.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-tags