| 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 |
Amazonka.ResilienceHub.Types.PhysicalResourceId
Description
Synopsis
- data PhysicalResourceId = PhysicalResourceId' {}
- newPhysicalResourceId :: Text -> PhysicalIdentifierType -> PhysicalResourceId
- physicalResourceId_awsAccountId :: Lens' PhysicalResourceId (Maybe Text)
- physicalResourceId_awsRegion :: Lens' PhysicalResourceId (Maybe Text)
- physicalResourceId_identifier :: Lens' PhysicalResourceId Text
- physicalResourceId_type :: Lens' PhysicalResourceId PhysicalIdentifierType
Documentation
data PhysicalResourceId Source #
Defines a physical resource identifier.
See: newPhysicalResourceId smart constructor.
Constructors
| PhysicalResourceId' | |
Fields
| |
Instances
newPhysicalResourceId Source #
Arguments
| :: Text | |
| -> PhysicalIdentifierType | |
| -> PhysicalResourceId |
Create a value of PhysicalResourceId 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:awsAccountId:PhysicalResourceId', physicalResourceId_awsAccountId - The Amazon Web Services account that owns the physical resource.
$sel:awsRegion:PhysicalResourceId', physicalResourceId_awsRegion - The Amazon Web Services Region that the physical resource is located in.
$sel:identifier:PhysicalResourceId', physicalResourceId_identifier - The identifier of the physical resource.
$sel:type':PhysicalResourceId', physicalResourceId_type - Specifies the type of physical resource identifier.
- Arn
- The resource identifier is an Amazon Resource Name (ARN) .
- Native
- The resource identifier is a Resilience Hub-native identifier.
physicalResourceId_awsAccountId :: Lens' PhysicalResourceId (Maybe Text) Source #
The Amazon Web Services account that owns the physical resource.
physicalResourceId_awsRegion :: Lens' PhysicalResourceId (Maybe Text) Source #
The Amazon Web Services Region that the physical resource is located in.
physicalResourceId_identifier :: Lens' PhysicalResourceId Text Source #
The identifier of the physical resource.
physicalResourceId_type :: Lens' PhysicalResourceId PhysicalIdentifierType Source #
Specifies the type of physical resource identifier.
- Arn
- The resource identifier is an Amazon Resource Name (ARN) .
- Native
- The resource identifier is a Resilience Hub-native identifier.