Interface CfnApp.PhysicalResourceIdProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApp.PhysicalResourceIdProperty.Jsii$Proxy
- Enclosing class:
CfnApp
@Stability(Stable)
public static interface CfnApp.PhysicalResourceIdProperty
extends software.amazon.jsii.JsiiSerializable
Defines a physical resource identifier.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.resiliencehub.*; PhysicalResourceIdProperty physicalResourceIdProperty = PhysicalResourceIdProperty.builder() .identifier("identifier") .type("type") // the properties below are optional .awsAccountId("awsAccountId") .awsRegion("awsRegion") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApp.PhysicalResourceIdProperty
static final class
An implementation forCfnApp.PhysicalResourceIdProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIdentifier
Identifier of the physical resource.- See Also:
-
getType
Specifies the type of physical resource identifier.- Arn - The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
- Native - The resource identifier is an AWS Resilience Hub -native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
- See Also:
-
getAwsAccountId
The AWS account that owns the physical resource.- See Also:
-
getAwsRegion
The AWS Region that the physical resource is located in.- See Also:
-
builder
-