CfnVpcIngressConnectionPropsMixin

class aws_cdk.mixins_preview.aws_apprunner.mixins.CfnVpcIngressConnectionPropsMixin(props, *, strategy=None)

Bases: Mixin

Specify an AWS App Runner VPC Ingress Connection by using the AWS::AppRunner::VpcIngressConnection resource in an AWS CloudFormation template.

The AWS::AppRunner::VpcIngressConnection resource is an AWS App Runner resource type that specifies an App Runner VPC Ingress Connection.

App Runner requires this resource when you want to associate your App Runner service to an Amazon VPC endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-vpcingressconnection.html

CloudformationResource:

AWS::AppRunner::VpcIngressConnection

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_apprunner import mixins as apprunner_mixins

cfn_vpc_ingress_connection_props_mixin = apprunner_mixins.CfnVpcIngressConnectionPropsMixin(apprunner_mixins.CfnVpcIngressConnectionMixinProps(
    ingress_vpc_configuration=apprunner_mixins.CfnVpcIngressConnectionPropsMixin.IngressVpcConfigurationProperty(
        vpc_endpoint_id="vpcEndpointId",
        vpc_id="vpcId"
    ),
    service_arn="serviceArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_ingress_connection_name="vpcIngressConnectionName"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::AppRunner::VpcIngressConnection.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['ingressVpcConfiguration', 'serviceArn', 'tags', 'vpcIngressConnectionName']

Static Methods

classmethod is_mixin(x)

(experimental) 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.

Stability:

experimental

IngressVpcConfigurationProperty

class CfnVpcIngressConnectionPropsMixin.IngressVpcConfigurationProperty(*, vpc_endpoint_id=None, vpc_id=None)

Bases: object

Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.

Parameters:
  • vpc_endpoint_id (Optional[str]) – The ID of the VPC endpoint that your App Runner service connects to.

  • vpc_id (Optional[str]) – The ID of the VPC that is used for the VPC endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-vpcingressconnection-ingressvpcconfiguration.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.mixins_preview.aws_apprunner import mixins as apprunner_mixins

ingress_vpc_configuration_property = apprunner_mixins.CfnVpcIngressConnectionPropsMixin.IngressVpcConfigurationProperty(
    vpc_endpoint_id="vpcEndpointId",
    vpc_id="vpcId"
)

Attributes

vpc_endpoint_id

The ID of the VPC endpoint that your App Runner service connects to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-vpcingressconnection-ingressvpcconfiguration.html#cfn-apprunner-vpcingressconnection-ingressvpcconfiguration-vpcendpointid

vpc_id

The ID of the VPC that is used for the VPC endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-vpcingressconnection-ingressvpcconfiguration.html#cfn-apprunner-vpcingressconnection-ingressvpcconfiguration-vpcid