CfnNetworkSettingsProps

class aws_cdk.aws_workspacesweb.CfnNetworkSettingsProps(*, security_group_ids, subnet_ids, vpc_id, tags=None)

Bases: object

Properties 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-networksettings.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 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+\-]+$

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-networksettings.html#cfn-workspacesweb-networksettings-securitygroupids

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})$

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-networksettings.html#cfn-workspacesweb-networksettings-subnetids

tags

The tags to add to the network settings resource.

A tag is a key-value pair.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-networksettings.html#cfn-workspacesweb-networksettings-tags

vpc_id

The VPC that streaming instances will connect to.

Pattern : ^vpc-[0-9a-z]*$

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-networksettings.html#cfn-workspacesweb-networksettings-vpcid