CfnPrivateConnectionProps

class aws_cdk.aws_devopsagent.CfnPrivateConnectionProps(*, connection_configuration, name, certificate=None, tags=None)

Bases: object

Properties for defining a CfnPrivateConnection.

Parameters:
  • connection_configuration (Union[IResolvable, ConnectionConfigurationProperty, Dict[str, Any]]) – The connection configuration, either SelfManaged or ServiceManaged.

  • name (str) – Unique name for this Private Connection within the account.

  • certificate (Optional[str]) – Certificate for the Private Connection.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-privateconnection.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_devopsagent as devopsagent

cfn_private_connection_props = devopsagent.CfnPrivateConnectionProps(
    connection_configuration=devopsagent.CfnPrivateConnection.ConnectionConfigurationProperty(
        self_managed=devopsagent.CfnPrivateConnection.SelfManagedModeProperty(
            resource_configuration_id="resourceConfigurationId"
        ),
        service_managed=devopsagent.CfnPrivateConnection.ServiceManagedModeProperty(
            host_address="hostAddress",
            vpc_id="vpcId",

            # the properties below are optional
            ip_address_type="ipAddressType",
            ipv4_addresses_per_eni=123,
            port_ranges=["portRanges"],
            security_group_ids=["securityGroupIds"],
            subnet_ids=["subnetIds"]
        )
    ),
    name="name",

    # the properties below are optional
    certificate="certificate",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

certificate

Certificate for the Private Connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-privateconnection.html#cfn-devopsagent-privateconnection-certificate

connection_configuration

The connection configuration, either SelfManaged or ServiceManaged.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-privateconnection.html#cfn-devopsagent-privateconnection-connectionconfiguration

name

Unique name for this Private Connection within the account.

See:

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

tags

An array of key-value pairs to apply to this resource.

See:

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