aws-cdk-lib.aws_resiliencehub.CfnApp.PhysicalResourceIdProperty

interface PhysicalResourceIdProperty

LanguageType name
.NETAmazon.CDK.AWS.ResilienceHub.CfnApp.PhysicalResourceIdProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsresiliencehub#CfnApp_PhysicalResourceIdProperty
Javasoftware.amazon.awscdk.services.resiliencehub.CfnApp.PhysicalResourceIdProperty
Pythonaws_cdk.aws_resiliencehub.CfnApp.PhysicalResourceIdProperty
TypeScript aws-cdk-lib » aws_resiliencehub » CfnApp » PhysicalResourceIdProperty

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 { aws_resiliencehub as resiliencehub } from 'aws-cdk-lib';
const physicalResourceIdProperty: resiliencehub.CfnApp.PhysicalResourceIdProperty = {
  identifier: 'identifier',
  type: 'type',

  // the properties below are optional
  awsAccountId: 'awsAccountId',
  awsRegion: 'awsRegion',
};

Properties

NameTypeDescription
identifierstringThe identifier of the physical resource.
typestringSpecifies the type of physical resource identifier.
awsAccountId?stringThe AWS account that owns the physical resource.
awsRegion?stringThe AWS Region that the physical resource is located in.

identifier

Type: string

The identifier of the physical resource.


type

Type: string

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


awsAccountId?

Type: string (optional)

The AWS account that owns the physical resource.


awsRegion?

Type: string (optional)

The AWS Region that the physical resource is located in.