| 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.ResourceGroups.Types.ResourceIdentifier
Description
Documentation
data ResourceIdentifier Source #
A structure that contains the ARN of a resource and its resource type.
See: newResourceIdentifier smart constructor.
Constructors
| ResourceIdentifier' | |
Fields
| |
Instances
newResourceIdentifier :: ResourceIdentifier Source #
Create a value of ResourceIdentifier 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:resourceArn:ResourceIdentifier', resourceIdentifier_resourceArn - The ARN of a resource.
$sel:resourceType:ResourceIdentifier', resourceIdentifier_resourceType - The resource type of a resource, such as AWS::EC2::Instance.
resourceIdentifier_resourceArn :: Lens' ResourceIdentifier (Maybe Text) Source #
The ARN of a resource.
resourceIdentifier_resourceType :: Lens' ResourceIdentifier (Maybe Text) Source #
The resource type of a resource, such as AWS::EC2::Instance.