AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::Route53RecoveryReadiness::Types::Resource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/types.rb

Overview

Note:

When making an API call, you may pass Resource data as a hash:

{
  component_id: "__string",
  dns_target_resource: {
    domain_name: "__string",
    hosted_zone_arn: "__string",
    record_set_id: "__string",
    record_type: "__string",
    target_resource: {
      nlb_resource: {
        arn: "__string",
      },
      r53_resource: {
        domain_name: "__string",
        record_set_id: "__string",
      },
    },
  },
  readiness_scopes: ["__string"],
  resource_arn: "__string",
}

The resource element of a ResourceSet

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#component_idString

The component id of the resource, generated by the service when dnsTargetResource is used

Returns:

  • (String)


1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/types.rb', line 1432

class Resource < Struct.new(
  :component_id,
  :dns_target_resource,
  :readiness_scopes,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#dns_target_resourceTypes::DNSTargetResource

A component for DNS/Routing Control Readiness Checks



1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/types.rb', line 1432

class Resource < Struct.new(
  :component_id,
  :dns_target_resource,
  :readiness_scopes,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#readiness_scopesArray<String>

A list of RecoveryGroup ARNs and/or Cell ARNs that this resource is contained within.

Returns:

  • (Array<String>)


1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/types.rb', line 1432

class Resource < Struct.new(
  :component_id,
  :dns_target_resource,
  :readiness_scopes,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN of the AWS resource, can be skipped if dnsTargetResource is used

Returns:

  • (String)


1432
1433
1434
1435
1436
1437
1438
1439
# File 'gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/types.rb', line 1432

class Resource < Struct.new(
  :component_id,
  :dns_target_resource,
  :readiness_scopes,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end