CfnAppBlockBuilderPropsMixin
- class aws_cdk.mixins_preview.aws_appstream.mixins.CfnAppBlockBuilderPropsMixin(props, *, strategy=None)
Bases:
MixinCreates an app block builder.
- See:
- 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:
props (
Union[CfnAppBlockBuilderMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
AccessEndpointProperty
- class CfnAppBlockBuilderPropsMixin.AccessEndpointProperty(*, endpoint_type=None, vpce_id=None)
Bases:
objectDescribes 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:
- 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.
- vpce_id
The identifier (ID) of the VPC in which the interface endpoint is used.
VpcConfigProperty
- class CfnAppBlockBuilderPropsMixin.VpcConfigProperty(*, security_group_ids=None, subnet_ids=None)
Bases:
objectDescribes 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:
- 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.
- 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.