amazonka-apprunner-2.0: Amazon App Runner SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppRunner.CreateVpcConnector

Description

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

Creating a Request

data CreateVpcConnector Source #

See: newCreateVpcConnector smart constructor.

Constructors

CreateVpcConnector' 

Fields

  • securityGroups :: Maybe [Text]

    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.

  • tags :: Maybe [Tag]

    A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.

  • vpcConnectorName :: Text

    A name for the VPC connector.

  • subnets :: [Text]

    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.

Instances

Instances details
ToJSON CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

ToHeaders CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

ToPath CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

ToQuery CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

AWSRequest CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

Associated Types

type AWSResponse CreateVpcConnector #

Generic CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

Associated Types

type Rep CreateVpcConnector :: Type -> Type #

Read CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

Show CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

NFData CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

Methods

rnf :: CreateVpcConnector -> () #

Eq CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

Hashable CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

type AWSResponse CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

type Rep CreateVpcConnector Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

type Rep CreateVpcConnector = D1 ('MetaData "CreateVpcConnector" "Amazonka.AppRunner.CreateVpcConnector" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "CreateVpcConnector'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "vpcConnectorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

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_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.

Constructors

CreateVpcConnectorResponse' 

Fields

Instances

Instances details
Generic CreateVpcConnectorResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

Associated Types

type Rep CreateVpcConnectorResponse :: Type -> Type #

Read CreateVpcConnectorResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

Show CreateVpcConnectorResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

NFData CreateVpcConnectorResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

Eq CreateVpcConnectorResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

type Rep CreateVpcConnectorResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateVpcConnector

type Rep CreateVpcConnectorResponse = D1 ('MetaData "CreateVpcConnectorResponse" "Amazonka.AppRunner.CreateVpcConnector" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "CreateVpcConnectorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "vpcConnector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VpcConnector)))

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_vpcConnector :: Lens' CreateVpcConnectorResponse VpcConnector Source #

A description of the App Runner VPC connector that's created by this request.