CfnPrivateConnectionPropsMixin

class aws_cdk.cfn_property_mixins.aws_devopsagent.CfnPrivateConnectionPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::DevOpsAgent::PrivateConnection.

See:

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

CloudformationResource:

AWS::DevOpsAgent::PrivateConnection

Mixin:

true

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.cfn_property_mixins import aws_devopsagent as devopsagent
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_private_connection_props_mixin = devopsagent.CfnPrivateConnectionPropsMixin(devopsagent.CfnPrivateConnectionMixinProps(
    certificate="certificate",
    connection_configuration=devopsagent.CfnPrivateConnectionPropsMixin.ConnectionConfigurationProperty(
        self_managed=devopsagent.CfnPrivateConnectionPropsMixin.SelfManagedModeProperty(
            resource_configuration_id="resourceConfigurationId"
        ),
        service_managed=devopsagent.CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty(
            host_address="hostAddress",
            ip_address_type="ipAddressType",
            ipv4_addresses_per_eni=123,
            port_ranges=["portRanges"],
            security_group_ids=["securityGroupIds"],
            subnet_ids=["subnetIds"],
            vpc_id="vpcId"
        )
    ),
    name="name",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::DevOpsAgent::PrivateConnection.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['certificate', 'connectionConfiguration', 'name', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ConnectionConfigurationProperty

class CfnPrivateConnectionPropsMixin.ConnectionConfigurationProperty(*, self_managed=None, service_managed=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-connectionconfiguration.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.cfn_property_mixins import aws_devopsagent as devopsagent

connection_configuration_property = devopsagent.CfnPrivateConnectionPropsMixin.ConnectionConfigurationProperty(
    self_managed=devopsagent.CfnPrivateConnectionPropsMixin.SelfManagedModeProperty(
        resource_configuration_id="resourceConfigurationId"
    ),
    service_managed=devopsagent.CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty(
        host_address="hostAddress",
        ip_address_type="ipAddressType",
        ipv4_addresses_per_eni=123,
        port_ranges=["portRanges"],
        security_group_ids=["securityGroupIds"],
        subnet_ids=["subnetIds"],
        vpc_id="vpcId"
    )
)

Attributes

self_managed

Configuration for a self-managed Private Connection.

See:

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

service_managed

Configuration for a service-managed Private Connection.

See:

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

SelfManagedModeProperty

class CfnPrivateConnectionPropsMixin.SelfManagedModeProperty(*, resource_configuration_id=None)

Bases: object

Configuration for a self-managed Private Connection.

Parameters:

resource_configuration_id (Optional[str]) – The ARN of the Resource Configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-selfmanagedmode.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.cfn_property_mixins import aws_devopsagent as devopsagent

self_managed_mode_property = devopsagent.CfnPrivateConnectionPropsMixin.SelfManagedModeProperty(
    resource_configuration_id="resourceConfigurationId"
)

Attributes

resource_configuration_id

The ARN of the Resource Configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-selfmanagedmode.html#cfn-devopsagent-privateconnection-selfmanagedmode-resourceconfigurationid

ServiceManagedModeProperty

class CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty(*, host_address=None, ip_address_type=None, ipv4_addresses_per_eni=None, port_ranges=None, security_group_ids=None, subnet_ids=None, vpc_id=None)

Bases: object

Configuration for a service-managed Private Connection.

Parameters:
  • host_address (Optional[str]) – IP address or DNS name of the target resource.

  • ip_address_type (Optional[str]) – IP address type of the service-managed Resource Gateway.

  • ipv4_addresses_per_eni (Union[int, float, None]) – Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.

  • port_ranges (Optional[Sequence[str]]) – TCP port ranges that a consumer can use to access the resource.

  • security_group_ids (Optional[Sequence[str]]) – Security groups to attach to the service-managed Resource Gateway.

  • subnet_ids (Optional[Sequence[str]]) – Subnets that the service-managed Resource Gateway will span.

  • vpc_id (Optional[str]) – VPC to create the service-managed Resource Gateway in.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.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.cfn_property_mixins import aws_devopsagent as devopsagent

service_managed_mode_property = devopsagent.CfnPrivateConnectionPropsMixin.ServiceManagedModeProperty(
    host_address="hostAddress",
    ip_address_type="ipAddressType",
    ipv4_addresses_per_eni=123,
    port_ranges=["portRanges"],
    security_group_ids=["securityGroupIds"],
    subnet_ids=["subnetIds"],
    vpc_id="vpcId"
)

Attributes

host_address

IP address or DNS name of the target resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-hostaddress

ip_address_type

IP address type of the service-managed Resource Gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-ipaddresstype

ipv4_addresses_per_eni

Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-ipv4addressespereni

port_ranges

TCP port ranges that a consumer can use to access the resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-portranges

security_group_ids

Security groups to attach to the service-managed Resource Gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-securitygroupids

subnet_ids

Subnets that the service-managed Resource Gateway will span.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-subnetids

vpc_id

VPC to create the service-managed Resource Gateway in.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-privateconnection-servicemanagedmode.html#cfn-devopsagent-privateconnection-servicemanagedmode-vpcid