Class: Aws::Route53::Types::ResourceRecordSetProtectionConfig

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

Overview

A protection to create for the resource record sets in a hosted zone that have the specified name and type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#comment ⇒ String

An optional comment about the protection, for example, the reason that the resource record sets are protected. The comment can be up to 256 characters long. If you don't specify a comment, the protection doesn't have a comment. When Route 53 rejects a ChangeResourceRecordSets request because of this protection, the error message includes the comment, so don't include sensitive information.

Returns:

  • (String)


7226
7227
7228
7229
7230
7231
7232
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 7226

class ResourceRecordSetProtectionConfig < Struct.new(
  :record_name,
  :record_type,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end

#record_name ⇒ String

The name of the resource record sets to protect, for example, www.example.com. The name must be the name of the hosted zone or a subdomain of it.

Returns:

  • (String)


7226
7227
7228
7229
7230
7231
7232
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 7226

class ResourceRecordSetProtectionConfig < Struct.new(
  :record_name,
  :record_type,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end

#record_type ⇒ String

The DNS record type of the resource record sets to protect. You can't protect records of type DNAME or of the DNSSEC record types that Route 53 manages.

Returns:

  • (String)


7226
7227
7228
7229
7230
7231
7232
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 7226

class ResourceRecordSetProtectionConfig < Struct.new(
  :record_name,
  :record_type,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end