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 |
Synopsis
- data ResourceToImport = ResourceToImport' {}
- newResourceToImport :: Text -> Text -> ResourceToImport
- resourceToImport_resourceType :: Lens' ResourceToImport Text
- resourceToImport_logicalResourceId :: Lens' ResourceToImport Text
- resourceToImport_resourceIdentifier :: Lens' ResourceToImport (HashMap Text Text)
Documentation
data ResourceToImport Source #
Describes the target resource of an import operation.
See: newResourceToImport
smart constructor.
ResourceToImport' | |
|
Instances
:: Text | |
-> Text | |
-> ResourceToImport |
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
).