@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.616Z") @Stability(value=Stable) public interface CfnVpcConnectorProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apprunner.*;
CfnVpcConnectorProps cfnVpcConnectorProps = CfnVpcConnectorProps.builder()
.subnets(List.of("subnets"))
// the properties below are optional
.securityGroups(List.of("securityGroups"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcConnectorName("vpcConnectorName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVpcConnectorProps.Builder
A builder for
CfnVpcConnectorProps |
static class |
CfnVpcConnectorProps.Jsii$Proxy
An implementation for
CfnVpcConnectorProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVpcConnectorProps.Builder |
builder() |
default List<String> |
getSecurityGroups()
A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets.
|
List<String> |
getSubnets()
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.
|
default List<CfnTag> |
getTags()
A list of metadata items that you can associate with your VPC connector resource.
|
default String |
getVpcConnectorName()
A name for the VPC connector.
|
@Stability(value=Stable) @NotNull List<String> getSubnets()
Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
@Stability(value=Stable) @Nullable default List<String> getSecurityGroups()
If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
A tag is a key-value pair.
@Stability(value=Stable) @Nullable default String getVpcConnectorName()
If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
@Stability(value=Stable) static CfnVpcConnectorProps.Builder builder()
CfnVpcConnectorProps.Builder of CfnVpcConnectorPropsCopyright © 2022. All rights reserved.