CfnPrivateConnectionPropsMixin
- class aws_cdk.cfn_property_mixins.aws_devopsagent.CfnPrivateConnectionPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::DevOpsAgent::PrivateConnection.
- See:
- 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:
props (
Union[CfnPrivateConnectionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ConnectionConfigurationProperty
- class CfnPrivateConnectionPropsMixin.ConnectionConfigurationProperty(*, self_managed=None, service_managed=None)
Bases:
object- Parameters:
self_managed (
Union[IResolvable,SelfManagedModeProperty,Dict[str,Any],None]) – Configuration for a self-managed Private Connection.service_managed (
Union[IResolvable,ServiceManagedModeProperty,Dict[str,Any],None]) – Configuration for a service-managed Private Connection.
- 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.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.
- service_managed
Configuration for a service-managed Private Connection.
SelfManagedModeProperty
- class CfnPrivateConnectionPropsMixin.SelfManagedModeProperty(*, resource_configuration_id=None)
Bases:
objectConfiguration for a self-managed Private Connection.
- Parameters:
resource_configuration_id (
Optional[str]) – The ARN of the Resource Configuration.- 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.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.
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:
objectConfiguration 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:
- 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.
- ip_address_type
IP address type of the service-managed Resource Gateway.
- ipv4_addresses_per_eni
Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.
- port_ranges
TCP port ranges that a consumer can use to access the resource.
- security_group_ids
Security groups to attach to the service-managed Resource Gateway.
- subnet_ids
Subnets that the service-managed Resource Gateway will span.
- vpc_id
VPC to create the service-managed Resource Gateway in.