Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC).
Synopsis
- data CreateVpcConnector = CreateVpcConnector' {
- securityGroups :: Maybe [Text]
- tags :: Maybe [Tag]
- vpcConnectorName :: Text
- subnets :: [Text]
- newCreateVpcConnector :: Text -> CreateVpcConnector
- createVpcConnector_securityGroups :: Lens' CreateVpcConnector (Maybe [Text])
- createVpcConnector_tags :: Lens' CreateVpcConnector (Maybe [Tag])
- createVpcConnector_vpcConnectorName :: Lens' CreateVpcConnector Text
- createVpcConnector_subnets :: Lens' CreateVpcConnector [Text]
- data CreateVpcConnectorResponse = CreateVpcConnectorResponse' {}
- newCreateVpcConnectorResponse :: Int -> VpcConnector -> CreateVpcConnectorResponse
- createVpcConnectorResponse_httpStatus :: Lens' CreateVpcConnectorResponse Int
- createVpcConnectorResponse_vpcConnector :: Lens' CreateVpcConnectorResponse VpcConnector
Creating a Request
data CreateVpcConnector Source #
See: newCreateVpcConnector
smart constructor.
CreateVpcConnector' | |
|
Instances
newCreateVpcConnector Source #
Create a value of CreateVpcConnector
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateVpcConnector
, createVpcConnector_securityGroups
- A list of IDs of security groups that App Runner should use for access
to Amazon Web Services resources under the specified subnets. If not
specified, App Runner uses the default security group of the Amazon VPC.
The default security group allows all outbound traffic.
$sel:tags:CreateVpcConnector'
, createVpcConnector_tags
- A list of metadata items that you can associate with your VPC connector
resource. A tag is a key-value pair.
CreateVpcConnector
, createVpcConnector_vpcConnectorName
- A name for the VPC connector.
CreateVpcConnector
, createVpcConnector_subnets
- A list of IDs of subnets that App Runner should use when it associates
your service with a custom Amazon VPC. 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.
Request Lenses
createVpcConnector_securityGroups :: Lens' CreateVpcConnector (Maybe [Text]) Source #
A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
createVpcConnector_tags :: Lens' CreateVpcConnector (Maybe [Tag]) Source #
A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
createVpcConnector_vpcConnectorName :: Lens' CreateVpcConnector Text Source #
A name for the VPC connector.
createVpcConnector_subnets :: Lens' CreateVpcConnector [Text] Source #
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. 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.
Destructuring the Response
data CreateVpcConnectorResponse Source #
See: newCreateVpcConnectorResponse
smart constructor.
CreateVpcConnectorResponse' | |
|
Instances
newCreateVpcConnectorResponse Source #
Create a value of CreateVpcConnectorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateVpcConnectorResponse'
, createVpcConnectorResponse_httpStatus
- The response's http status code.
$sel:vpcConnector:CreateVpcConnectorResponse'
, createVpcConnectorResponse_vpcConnector
- A description of the App Runner VPC connector that's created by this
request.
Response Lenses
createVpcConnectorResponse_httpStatus :: Lens' CreateVpcConnectorResponse Int Source #
The response's http status code.
createVpcConnectorResponse_vpcConnector :: Lens' CreateVpcConnectorResponse VpcConnector Source #
A description of the App Runner VPC connector that's created by this request.