libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFormation.Types.ResourceToImport

Description

 
Synopsis

Documentation

data ResourceToImport Source #

Describes the target resource of an import operation.

See: newResourceToImport smart constructor.

Constructors

ResourceToImport' 

Fields

  • resourceType :: Text

    The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

  • logicalResourceId :: Text

    The logical ID of the target resource as specified in the template.

  • resourceIdentifier :: HashMap Text Text

    A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).

Instances

Instances details
Eq ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

Read ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

Show ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

Generic ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

Associated Types

type Rep ResourceToImport :: Type -> Type #

NFData ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

Methods

rnf :: ResourceToImport -> () #

Hashable ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

ToQuery ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

type Rep ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

type Rep ResourceToImport = D1 ('MetaData "ResourceToImport" "Amazonka.CloudFormation.Types.ResourceToImport" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "ResourceToImport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "logicalResourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)))))

newResourceToImport Source #

Create a value of ResourceToImport 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:resourceType:ResourceToImport', resourceToImport_resourceType - The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

$sel:logicalResourceId:ResourceToImport', resourceToImport_logicalResourceId - The logical ID of the target resource as specified in the template.

$sel:resourceIdentifier:ResourceToImport', resourceToImport_resourceIdentifier - A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).

resourceToImport_resourceType :: Lens' ResourceToImport Text Source #

The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported resource types, see Resources that support import operations in the CloudFormation User Guide.

resourceToImport_logicalResourceId :: Lens' ResourceToImport Text Source #

The logical ID of the target resource as specified in the template.

resourceToImport_resourceIdentifier :: Lens' ResourceToImport (HashMap Text Text) Source #

A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).