CfnHostProps

class aws_cdk.aws_codeconnections.CfnHostProps(*, name, provider_endpoint, provider_type, tags=None, vpc_configuration=None)

Bases: object

Properties for defining a CfnHost.

Parameters:
  • name (str) – The name of the host.

  • provider_endpoint (str) – The endpoint of the infrastructure where your provider type is installed.

  • provider_type (str) – The name of the installed provider to be associated with your connection.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags to apply to the host.

  • vpc_configuration (Union[IResolvable, VpcConfigurationProperty, Dict[str, Any], None]) – The VPC configuration provisioned for the host.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeconnections-host.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codeconnections as codeconnections

cfn_host_props = codeconnections.CfnHostProps(
    name="name",
    provider_endpoint="providerEndpoint",
    provider_type="providerType",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_configuration=codeconnections.CfnHost.VpcConfigurationProperty(
        security_group_ids=["securityGroupIds"],
        subnet_ids=["subnetIds"],
        vpc_id="vpcId",

        # the properties below are optional
        tls_certificate="tlsCertificate"
    )
)

Attributes

name

The name of the host.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeconnections-host.html#cfn-codeconnections-host-name

provider_endpoint

The endpoint of the infrastructure where your provider type is installed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeconnections-host.html#cfn-codeconnections-host-providerendpoint

provider_type

The name of the installed provider to be associated with your connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeconnections-host.html#cfn-codeconnections-host-providertype

tags

Tags to apply to the host.

See:

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

vpc_configuration

The VPC configuration provisioned for the host.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeconnections-host.html#cfn-codeconnections-host-vpcconfiguration