CfnAppBlockBuilderPropsMixin

class aws_cdk.mixins_preview.aws_appstream.mixins.CfnAppBlockBuilderPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates an app block builder.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblockbuilder.html

CloudformationResource:

AWS::AppStream::AppBlockBuilder

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_appstream import mixins as appstream_mixins

cfn_app_block_builder_props_mixin = appstream_mixins.CfnAppBlockBuilderPropsMixin(appstream_mixins.CfnAppBlockBuilderMixinProps(
    access_endpoints=[appstream_mixins.CfnAppBlockBuilderPropsMixin.AccessEndpointProperty(
        endpoint_type="endpointType",
        vpce_id="vpceId"
    )],
    app_block_arns=["appBlockArns"],
    description="description",
    display_name="displayName",
    enable_default_internet_access=False,
    iam_role_arn="iamRoleArn",
    instance_type="instanceType",
    name="name",
    platform="platform",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_config=appstream_mixins.CfnAppBlockBuilderPropsMixin.VpcConfigProperty(
        security_group_ids=["securityGroupIds"],
        subnet_ids=["subnetIds"]
    )
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::AppStream::AppBlockBuilder.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['accessEndpoints', 'appBlockArns', 'description', 'displayName', 'enableDefaultInternetAccess', 'iamRoleArn', 'instanceType', 'name', 'platform', 'tags', 'vpcConfig']

Static Methods

classmethod is_mixin(x)

(experimental) 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.

Stability:

experimental

AccessEndpointProperty

class CfnAppBlockBuilderPropsMixin.AccessEndpointProperty(*, endpoint_type=None, vpce_id=None)

Bases: object

Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and AppStream 2.0. When you specify an interface endpoint for a stack, users of the stack can connect to AppStream 2.0 only through that endpoint. When you specify an interface endpoint for an image builder, administrators can connect to the image builder only through that endpoint.

Parameters:
  • endpoint_type (Optional[str]) – The type of interface endpoint.

  • vpce_id (Optional[str]) – The identifier (ID) of the VPC in which the interface endpoint is used.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-accessendpoint.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.mixins_preview.aws_appstream import mixins as appstream_mixins

access_endpoint_property = appstream_mixins.CfnAppBlockBuilderPropsMixin.AccessEndpointProperty(
    endpoint_type="endpointType",
    vpce_id="vpceId"
)

Attributes

endpoint_type

The type of interface endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-accessendpoint.html#cfn-appstream-appblockbuilder-accessendpoint-endpointtype

vpce_id

The identifier (ID) of the VPC in which the interface endpoint is used.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-accessendpoint.html#cfn-appstream-appblockbuilder-accessendpoint-vpceid

VpcConfigProperty

class CfnAppBlockBuilderPropsMixin.VpcConfigProperty(*, security_group_ids=None, subnet_ids=None)

Bases: object

Describes VPC configuration information for fleets and image builders.

Parameters:
  • security_group_ids (Optional[Sequence[str]]) – The identifiers of the security groups for the fleet or image builder.

  • subnet_ids (Optional[Sequence[str]]) – The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-vpcconfig.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.mixins_preview.aws_appstream import mixins as appstream_mixins

vpc_config_property = appstream_mixins.CfnAppBlockBuilderPropsMixin.VpcConfigProperty(
    security_group_ids=["securityGroupIds"],
    subnet_ids=["subnetIds"]
)

Attributes

security_group_ids

The identifiers of the security groups for the fleet or image builder.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-vpcconfig.html#cfn-appstream-appblockbuilder-vpcconfig-securitygroupids

subnet_ids

The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance.

Fleet instances use one or more subnets. Image builder instances use one subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblockbuilder-vpcconfig.html#cfn-appstream-appblockbuilder-vpcconfig-subnetids