VpcConnectorAttributes

class aws_cdk.aws_apprunner.VpcConnectorAttributes(*, security_groups, vpc_connector_arn, vpc_connector_name, vpc_connector_revision)

Bases: object

(experimental) Attributes for the App Runner VPC Connector.

Parameters
  • security_groups (Sequence[ISecurityGroup]) – (experimental) The security groups associated with the VPC connector.

  • vpc_connector_arn (str) – (experimental) The ARN of the VPC connector.

  • vpc_connector_name (str) – (experimental) The name of the VPC connector.

  • vpc_connector_revision (Union[int, float]) – (experimental) The revision of the VPC connector.

Stability

experimental

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apprunner as apprunner
import aws_cdk.aws_ec2 as ec2

# security_group: ec2.SecurityGroup

vpc_connector_attributes = apprunner.VpcConnectorAttributes(
    security_groups=[security_group],
    vpc_connector_arn="vpcConnectorArn",
    vpc_connector_name="vpcConnectorName",
    vpc_connector_revision=123
)

Attributes

security_groups

(experimental) The security groups associated with the VPC connector.

Stability

experimental

Return type

List[ISecurityGroup]

vpc_connector_arn

(experimental) The ARN of the VPC connector.

Stability

experimental

Return type

str

vpc_connector_name

(experimental) The name of the VPC connector.

Stability

experimental

Return type

str

vpc_connector_revision

(experimental) The revision of the VPC connector.

Stability

experimental

Return type

Union[int, float]