CfnNetworkSettingsMixinProps
- class aws_cdk.mixins_preview.aws_workspacesweb.mixins.CfnNetworkSettingsMixinProps(*, security_group_ids=None, subnet_ids=None, tags=None, vpc_id=None)
Bases:
objectProperties for CfnNetworkSettingsPropsMixin.
- Parameters:
security_group_ids (
Optional[Sequence[str]]) – One or more security groups used to control access from streaming instances to your VPC. Pattern :^[\w+\-]+$subnet_ids (
Optional[Sequence[str]]) – The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones. Pattern :^subnet-([0-9a-f]{8}|[0-9a-f]{17})$tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags to add to the network settings resource. A tag is a key-value pair.vpc_id (
Optional[str]) – The VPC that streaming instances will connect to. Pattern :^vpc-[0-9a-z]*$
- 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_workspacesweb import mixins as workspacesweb_mixins cfn_network_settings_mixin_props = workspacesweb_mixins.CfnNetworkSettingsMixinProps( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"], tags=[CfnTag( key="key", value="value" )], vpc_id="vpcId" )
Attributes
- security_group_ids
One or more security groups used to control access from streaming instances to your VPC.
Pattern :
^[\w+\-]+$
- subnet_ids
The subnets in which network interfaces are created to connect streaming instances to your VPC.
At least two of these subnets must be in different availability zones.
Pattern :
^subnet-([0-9a-f]{8}|[0-9a-f]{17})$
- tags
The tags to add to the network settings resource.
A tag is a key-value pair.
- vpc_id
The VPC that streaming instances will connect to.
Pattern :
^vpc-[0-9a-z]*$