CfnNetworkSettingsPropsMixin
- class aws_cdk.mixins_preview.aws_workspacesweb.mixins.CfnNetworkSettingsPropsMixin(props, *, strategy=None)
Bases:
MixinThis resource specifies network settings that can be associated with a web portal.
Once associated with a web portal, network settings define how streaming instances will connect with your specified VPC.
The VPC must have default tenancy. VPCs with dedicated tenancy are not supported.
For availability consideration, you must have at least two subnets created in two different Availability Zones. WorkSpaces Secure Browser is available in a subset of the Availability Zones for each supported Region. For more information, see Supported Availability Zones .
- See:
- CloudformationResource:
AWS::WorkSpacesWeb::NetworkSettings
- 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_workspacesweb import mixins as workspacesweb_mixins cfn_network_settings_props_mixin = workspacesweb_mixins.CfnNetworkSettingsPropsMixin(workspacesweb_mixins.CfnNetworkSettingsMixinProps( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"], tags=[CfnTag( key="key", value="value" )], vpc_id="vpcId" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::WorkSpacesWeb::NetworkSettings.- Parameters:
props (
Union[CfnNetworkSettingsMixinProps,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 = ['securityGroupIds', 'subnetIds', 'tags', 'vpcId']
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