CfnNetworkSettingsProps
- class aws_cdk.aws_workspacesweb.CfnNetworkSettingsProps(*, security_group_ids, subnet_ids, vpc_id, tags=None)
Bases:
objectProperties for defining a
CfnNetworkSettings.- Parameters:
security_group_ids (
Sequence[str]) – One or more security groups used to control access from streaming instances to your VPC. Pattern :^[\w+\-]+$subnet_ids (
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})$vpc_id (
str) – The VPC that streaming instances will connect to. Pattern :^vpc-[0-9a-z]*$tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags to add to the network settings resource. A tag is a key-value pair.
- 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 import aws_workspacesweb as workspacesweb cfn_network_settings_props = workspacesweb.CfnNetworkSettingsProps( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"], vpc_id="vpcId", # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
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]*$