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 ResourceMapping = ResourceMapping' {}
- newResourceMapping :: ResourceMappingType -> PhysicalResourceId -> ResourceMapping
- resourceMapping_appRegistryAppName :: Lens' ResourceMapping (Maybe Text)
- resourceMapping_logicalStackName :: Lens' ResourceMapping (Maybe Text)
- resourceMapping_resourceGroupName :: Lens' ResourceMapping (Maybe Text)
- resourceMapping_resourceName :: Lens' ResourceMapping (Maybe Text)
- resourceMapping_terraformSourceName :: Lens' ResourceMapping (Maybe Text)
- resourceMapping_mappingType :: Lens' ResourceMapping ResourceMappingType
- resourceMapping_physicalResourceId :: Lens' ResourceMapping PhysicalResourceId
Documentation
data ResourceMapping Source #
Defines a resource mapping.
See: newResourceMapping
smart constructor.
ResourceMapping' | |
|
Instances
Create a value of ResourceMapping
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:appRegistryAppName:ResourceMapping'
, resourceMapping_appRegistryAppName
- The name of the application this resource is mapped to.
$sel:logicalStackName:ResourceMapping'
, resourceMapping_logicalStackName
- The name of the CloudFormation stack this resource is mapped to.
$sel:resourceGroupName:ResourceMapping'
, resourceMapping_resourceGroupName
- The name of the resource group this resource is mapped to.
$sel:resourceName:ResourceMapping'
, resourceMapping_resourceName
- The name of the resource this resource is mapped to.
$sel:terraformSourceName:ResourceMapping'
, resourceMapping_terraformSourceName
- The short name of the Terraform source.
$sel:mappingType:ResourceMapping'
, resourceMapping_mappingType
- Specifies the type of resource mapping.
- AppRegistryApp
- The resource is mapped to another application. The name of the
application is contained in the
appRegistryAppName
property. - CfnStack
- The resource is mapped to a CloudFormation stack. The name of the
CloudFormation stack is contained in the
logicalStackName
property. - Resource
- The resource is mapped to another resource. The name of the resource
is contained in the
resourceName
property. - ResourceGroup
- The resource is mapped to a resource group. The name of the resource
group is contained in the
resourceGroupName
property.
$sel:physicalResourceId:ResourceMapping'
, resourceMapping_physicalResourceId
- The identifier of this resource.
resourceMapping_appRegistryAppName :: Lens' ResourceMapping (Maybe Text) Source #
The name of the application this resource is mapped to.
resourceMapping_logicalStackName :: Lens' ResourceMapping (Maybe Text) Source #
The name of the CloudFormation stack this resource is mapped to.
resourceMapping_resourceGroupName :: Lens' ResourceMapping (Maybe Text) Source #
The name of the resource group this resource is mapped to.
resourceMapping_resourceName :: Lens' ResourceMapping (Maybe Text) Source #
The name of the resource this resource is mapped to.
resourceMapping_terraformSourceName :: Lens' ResourceMapping (Maybe Text) Source #
The short name of the Terraform source.
resourceMapping_mappingType :: Lens' ResourceMapping ResourceMappingType Source #
Specifies the type of resource mapping.
- AppRegistryApp
- The resource is mapped to another application. The name of the
application is contained in the
appRegistryAppName
property. - CfnStack
- The resource is mapped to a CloudFormation stack. The name of the
CloudFormation stack is contained in the
logicalStackName
property. - Resource
- The resource is mapped to another resource. The name of the resource
is contained in the
resourceName
property. - ResourceGroup
- The resource is mapped to a resource group. The name of the resource
group is contained in the
resourceGroupName
property.
resourceMapping_physicalResourceId :: Lens' ResourceMapping PhysicalResourceId Source #
The identifier of this resource.