[ aws . route53-recovery-readiness ]

create-resource-set

Description

Creates a new Resource Set.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  create-resource-set
--resource-set-name <value>
--resource-set-type <value>
--resources <value>
[--tags <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--resource-set-name (string) The name of the ResourceSet to create

--resource-set-type (string) AWS Resource type of the resources in the ResourceSet

--resources (list) A list of Resource objects(structure)

The resource element of a ResourceSet

ComponentId -> (string)

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

DnsTargetResource -> (structure)

A component for DNS/Routing Control Readiness Checks

DomainName -> (string)

The DNS Name that acts as ingress point to a portion of application

HostedZoneArn -> (string)

The Hosted Zone ARN that contains the DNS record with the provided name of target resource.

RecordSetId -> (string)

The R53 Set Id to uniquely identify a record given a Name and a Type

RecordType -> (string)

The Type of DNS Record of target resource

TargetResource -> (structure)

The target resource the R53 record points to

NLBResource -> (structure)

The NLB resource a DNS Target Resource points to

Arn -> (string)

An NLB resource arn

R53Resource -> (structure)

The Route 53 resource a DNS Target Resource record points to

DomainName -> (string)

The DNS target name

RecordSetId -> (string)

The Resource Record set id

ReadinessScopes -> (list)

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

(string)

ResourceArn -> (string)

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

JSON Syntax:

[
  {
    "ComponentId": "string",
    "DnsTargetResource": {
      "DomainName": "string",
      "HostedZoneArn": "string",
      "RecordSetId": "string",
      "RecordType": "string",
      "TargetResource": {
        "NLBResource": {
          "Arn": "string"
        },
        "R53Resource": {
          "DomainName": "string",
          "RecordSetId": "string"
        }
      }
    },
    "ReadinessScopes": ["string", ...],
    "ResourceArn": "string"
  }
  ...
]

--tags (map) A collection of tags associated with a resourcekey -> (string)

value -> (string)

Shorthand Syntax:

KeyName1=string,KeyName2=string

JSON Syntax:

{"string": "string"
  ...}

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See ‘aws help’ for descriptions of global parameters.

Output

ResourceSetArn -> (string)

The arn for the ResourceSet

ResourceSetName -> (string)

The name of the ResourceSet

ResourceSetType -> (string)

AWS Resource Type of the resources in the ResourceSet

Resources -> (list)

A list of Resource objects

(structure)

The resource element of a ResourceSet

ComponentId -> (string)

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

DnsTargetResource -> (structure)

A component for DNS/Routing Control Readiness Checks

DomainName -> (string)

The DNS Name that acts as ingress point to a portion of application

HostedZoneArn -> (string)

The Hosted Zone ARN that contains the DNS record with the provided name of target resource.

RecordSetId -> (string)

The R53 Set Id to uniquely identify a record given a Name and a Type

RecordType -> (string)

The Type of DNS Record of target resource

TargetResource -> (structure)

The target resource the R53 record points to

NLBResource -> (structure)

The NLB resource a DNS Target Resource points to

Arn -> (string)

An NLB resource arn

R53Resource -> (structure)

The Route 53 resource a DNS Target Resource record points to

DomainName -> (string)

The DNS target name

RecordSetId -> (string)

The Resource Record set id

ReadinessScopes -> (list)

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

(string)

ResourceArn -> (string)

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

Tags -> (map)

A collection of tags associated with a resource

key -> (string)

value -> (string)