amazonka-cloudformation-2.0: Amazon CloudFormation 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.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
ToQuery 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 #

Read ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

Show ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

NFData ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

Methods

rnf :: ResourceToImport -> () #

Eq ResourceToImport Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.ResourceToImport

Hashable 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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).