Class: MintPress::Aws::Route53::ResourceRecordSet

Inherits:
Object
  • Object
show all
Includes:
MintLogger, AwsCommon, Mixins::Properties
Defined in:
src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb

Properties (Read/Write)

  • #alias_target ⇒ [MintPress::Aws::Route53::AliasTarget] (Default Value: MintPress::Aws::Route53::AliasTarget.new)
    'Alias resource record sets only: Information about the AWS resource, such as a CloudFront distribution or an Amazon S3 bucket, that you want to route traffic to.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'alias_target'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.alias_target"
    • defaultMintPress::Aws::Route53::AliasTarget.new
    
    
    24
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 24
    
    property :alias_target, disposition: :attribute, description: 'Alias resource record sets only: Information about the AWS resource, such as a CloudFront distribution or an Amazon S3 bucket, that you want to route traffic to.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'alias_target', type: [MintPress::Aws::Route53::AliasTarget], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.alias_target", default: MintPress::Aws::Route53::AliasTarget.new
  • #failover ⇒ [String]
    'Failover resource record sets only: To configure failover, you add the Failover element to two resource record sets.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'failover'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.failover"
    
    
    25
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 25
    
    property :failover, disposition: :attribute, description: 'Failover resource record sets only: To configure failover, you add the Failover element to two resource record sets.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'failover', type: [String], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.failover"
  • #geo_location ⇒ [MintPress::Aws::Route53::GeoLocation] (Default Value: MintPress::Aws::Route53::GeoLocation.new)
    'Geolocation resource record sets only: A complex type that lets you control how Amazon Route 53 responds to DNS queries based on the geographic origin of the query.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'geo_location'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.geo_location"
    • defaultMintPress::Aws::Route53::GeoLocation.new
    
    
    26
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 26
    
    property :geo_location, disposition: :attribute, description: 'Geolocation resource record sets only: A complex type that lets you control how Amazon Route 53 responds to DNS queries based on the geographic origin of the query.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'geo_location', type: [MintPress::Aws::Route53::GeoLocation], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.geo_location", default: MintPress::Aws::Route53::GeoLocation.new
  • #multi_value_answer ⇒ [TrueClass,FalseClass]
    'Multivalue answer resource record sets only: To route traffic approximately randomly to multiple resources, such as web servers, create one multivalue answer record for each resource and specify true for MultiValueAnswer.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'multi_value_answer'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.multi_value_answer"
    
    
    27
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 27
    
    property :multi_value_answer, disposition: :attribute, description: 'Multivalue answer resource record sets only: To route traffic approximately randomly to multiple resources, such as web servers, create one multivalue answer record for each resource and specify true for MultiValueAnswer.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'multi_value_answer', type: [TrueClass,FalseClass], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.multi_value_answer"
  • #name ⇒ [String]
    'For ChangeResourceRecordSets requests, the name of the record that you want to create, update, or delete.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'name'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.name"
    
    
    28
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 28
    
    property :name, disposition: :attribute, description: 'For ChangeResourceRecordSets requests, the name of the record that you want to create, update, or delete.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'name', type: [String], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.name"
  • #resource_records ⇒ Array of ⇒ [String]
    'Information about the resource records to act upon.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'resource_records'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.resource_records.value"
    
    
    29
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 29
    
    property :resource_records, disposition: :attribute, description: 'Information about the resource records to act upon.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'resource_records', type: [String], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.resource_records.value", array: true
  • #set_identifier ⇒ [String]
    'Resource record sets that have a routing policy other than simple: An identifier that differentiates among multiple resource record sets that have the same combination of name and type, such as multiple weighted resource record sets named acme.example.com that have a type of A.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'set_identifier'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.set_identifier"
    
    
    30
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 30
    
    property :set_identifier, disposition: :attribute, description: 'Resource record sets that have a routing policy other than simple: An identifier that differentiates among multiple resource record sets that have the same combination of name and type, such as multiple weighted resource record sets named acme.example.com that have a type of A.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'set_identifier', type: [String], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.set_identifier"
  • #ttl ⇒ [Integer]
    'The resource record cache time to live (TTL), in seconds.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'ttl'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.ttl"
    
    
    31
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 31
    
    property :ttl, disposition: :attribute, description: 'The resource record cache time to live (TTL), in seconds.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'ttl', type: [Integer], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.ttl"
  • #type ⇒ [String]
    'The DNS record type.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'type'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.type"
    
    
    32
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 32
    
    property :type, disposition: :attribute, description: 'The DNS record type.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'type', type: [String], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.type"
  • #weight ⇒ [Integer]
    'Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'weight'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.weight"
    
    
    33
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 33
    
    property :weight, disposition: :attribute, description: 'Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'weight', type: [Integer], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.weight"
  • #start_record_name ⇒ [String]
    'The first name in the lexicographic ordering of resource record sets that you want to list. If the specified record name doesn"t exist, the results begin with the first resource record set that has a name greater than the value of name.'

    Property Attributes
    • list_resource_record_sets_prop'start_record_name'
    • read_onlyfalse
    • source"list_resource_record_sets"
    
    
    34
    35
    36
    37
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 34
    
    property :start_record_name, list_resource_record_sets_prop: 'start_record_name', type: [String], read_only: false, source: "list_resource_record_sets", description: 'The first name in the lexicographic ordering of resource record sets
    that you want to list. If the specified record name doesn"t exist,
    the results begin with the first resource record set that has a name
    greater than the value of name.'
  • #start_record_type ⇒ [String]
    'The type of resource record set to begin the record listing from. Valid values for basic resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | NS | PTR | SOA | SPF | SRV | TXT Values for weighted, latency, geolocation, and failover resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | PTR | SPF | SRV | TXT Values for alias resource record sets: API Gateway custom regional API or edge-optimized API: A CloudFront distribution: A or AAAA Elastic Beanstalk environment that has a regionalized subdomain: A Elastic Load Balancing load balancer: A | AAAA S3 bucket: A VPC interface VPC endpoint: A Another resource record set in this hosted zone: The type of the resource record set that the alias references. Constraint: Specifying type without specifying name returns an InvalidInput error.'

    Property Attributes
    • list_resource_record_sets_prop'start_record_type'
    • read_onlyfalse
    • source"list_resource_record_sets"
    
    
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 38
    
    property :start_record_type, list_resource_record_sets_prop: 'start_record_type', type: [String], read_only: false, source: "list_resource_record_sets", description: 'The type of resource record set to begin the record listing from.
    
    Valid values for basic resource record sets: A | AAAA | CAA |
    CNAME | MX | NAPTR | NS | PTR | SOA | SPF | SRV
    | TXT
    
    Values for weighted, latency, geolocation, and failover resource
    record sets: A | AAAA | CAA | CNAME | MX | NAPTR |
    PTR | SPF | SRV | TXT
    
    Values for alias resource record sets:
    
    
    API Gateway custom regional API or edge-optimized API: A
    CloudFront distribution: A or AAAA
    Elastic Beanstalk environment that has a regionalized
    subdomain: A
    Elastic Load Balancing load balancer: A | AAAA
    S3 bucket: A
    VPC interface VPC endpoint: A
    Another resource record set in this hosted zone: The type of the
    resource record set that the alias references.
    
    
    
    Constraint: Specifying type without specifying name returns an
    InvalidInput error.'
  • #start_record_identifier ⇒ [String]
    'Resource record sets that have a routing policy other than simple: If results were truncated for a given DNS name and type, specify the value of NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.'

    Property Attributes
    • list_resource_record_sets_prop'start_record_identifier'
    • read_onlyfalse
    • source"list_resource_record_sets"
    
    
    65
    66
    67
    68
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 65
    
    property :start_record_identifier, list_resource_record_sets_prop: 'start_record_identifier', type: [String], read_only: false, source: "list_resource_record_sets", description: 'Resource record sets that have a routing policy other than simple:
    If results were truncated for a given DNS name and type, specify the
    value of NextRecordIdentifier from the previous response to get the
    next resource record set that has the current DNS name and type.'
  • #max_items ⇒ [Integer]
    'The maximum number of resource records sets to include in the response body for this request. If the response includes more than maxitems resource record sets, the value of the IsTruncated element in the response is true, and the values of the NextRecordName and NextRecordType elements in the response identify the first resource record set in the next group of maxitems resource record sets.'

    Property Attributes
    • list_resource_record_sets_prop'max_items'
    • read_onlyfalse
    • source"list_resource_record_sets"
    
    
    69
    70
    71
    72
    73
    74
    75
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 69
    
    property :max_items, list_resource_record_sets_prop: 'max_items', type: [Integer], read_only: false, source: "list_resource_record_sets", description: 'The maximum number of resource records sets to include in
    the response body for this request. If the response includes more than
    maxitems resource record sets, the value of the IsTruncated
    element in the response is true, and the values of the
    NextRecordName and NextRecordType elements in the response
    identify the first resource record set in the next group of maxitems
    resource record sets.'
  • #comment ⇒ [String]
    'Optional: Any comments you want to include about a change batch request.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ChangeBatch"
    • orig_name'comment'
    • change_resource_record_sets_prop"change_batch.comment"
    
    
    76
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 76
    
    property :comment, disposition: :attribute, description: 'Optional: Any comments you want to include about a change batch request.', source: "MintPress::Aws::Route53::ChangeBatch", orig_name: 'comment', type: [String], change_resource_record_sets_prop: "change_batch.comment"
  • #action ⇒ [String]
    'The action to perform:.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::Change"
    • orig_name'action'
    • change_resource_record_sets_prop"change_batch.changes.action"
    
    
    77
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 77
    
    property :action, disposition: :attribute, description: 'The action to perform:.', source: "MintPress::Aws::Route53::Change", orig_name: 'action', type: [String], change_resource_record_sets_prop: "change_batch.changes.action"
  • #id ⇒ [String]
    'The ID of the change batch request. The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request.'

    Property Attributes
    • get_change_prop'id'
    • read_onlyfalse
    • source"get_change"
    • change_resource_record_sets_prop"change_batch.changes.id"
    
    
    78
    79
    80
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 78
    
    property :id, get_change_prop: 'id', type: [String], read_only: false, source: "get_change", description: 'The ID of the change batch request. The value that you specify here is
    the value that ChangeResourceRecordSets returned in the Id element
    when you submitted the request.', change_resource_record_sets_prop: "change_batch.changes.id"
  • #hosted_zone ⇒ [MintPress::Aws::Route53::HostedZone]
    'The ID of the hosted zone that contains the resource record sets that you want to list.'

    Property Attributes
    • change_resource_record_sets_prop'hosted_zone_id'
    • read_onlyfalse
    • source"list_resource_record_sets"
    • list_resource_record_sets_prop'hosted_zone_id'
    • fromString
    
    
    81
    82
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 81
    
    property :hosted_zone, change_resource_record_sets_prop: 'hosted_zone_id', type: [MintPress::Aws::Route53::HostedZone], read_only: false, source: "list_resource_record_sets", description: 'The ID of the hosted zone that contains the resource record sets that
    you want to list.', list_resource_record_sets_prop: 'hosted_zone_id', from: String
  • #health_check ⇒ [MintPress::Aws::Route53::HealthCheck]
    'If you want Amazon Route 53 to return this resource record set in response to a DNS query only when the status of a health check is healthy, include the HealthCheckId element and specify the ID of the applicable health check.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'health_check_id'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.health_check_id"
    • fromString
    
    
    83
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 83
    
    property :health_check, disposition: :attribute, description: 'If you want Amazon Route 53 to return this resource record set in response to a DNS query only when the status of a health check is healthy, include the HealthCheckId element and specify the ID of the applicable health check.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'health_check_id', type: [MintPress::Aws::Route53::HealthCheck], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.health_check_id", from: String
  • #my_region ⇒ [String]
    'Latency-based resource record sets only: The Amazon EC2 Region where you created the resource that this resource record set refers to.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'region'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.region"
    
    
    84
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 84
    
    property :my_region, disposition: :attribute, description: 'Latency-based resource record sets only: The Amazon EC2 Region where you created the resource that this resource record set refers to.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'region', type: [String], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.region"
  • #traffic_policy_instance ⇒ [MintPress::Aws::Route53::TrafficPolicyInstance]
    'When you create a traffic policy instance, Amazon Route 53 automatically creates a resource record set.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Route53::ResourceRecordSet"
    • orig_name'traffic_policy_instance_id'
    • change_resource_record_sets_prop"change_batch.changes.resource_record_set.traffic_policy_instance_id"
    • fromString
    
    
    85
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 85
    
    property :traffic_policy_instance, disposition: :attribute, description: 'When you create a traffic policy instance, Amazon Route 53 automatically creates a resource record set.', source: "MintPress::Aws::Route53::ResourceRecordSet", orig_name: 'traffic_policy_instance_id', type: [MintPress::Aws::Route53::TrafficPolicyInstance], change_resource_record_sets_prop: "change_batch.changes.resource_record_set.traffic_policy_instance_id", from: String
  • #region ⇒ String
    Region _specifically for this object_. If you're not doing different objects in different regions, you should not set this, but rather set the region on your AwsPlatformProvider instead

    Property Attributes
    
    
    89
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 89
    
    property :region, type: String
  • #platform ⇒ MintPress::InfrastructureAws::AwsPlatform (Default Value: MintPress::InfrastructureAws::AwsPlatform.new)
    The platform details, including credentials - normally this will come via AwsPlatformProvider (see the Infrastructure Providers section of the documentation)

    Property Attributes
    • defaultMintPress::InfrastructureAws::AwsPlatform.new
    
    
    92
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/route53/resource_record_set.rb', line 92
    
    property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new

Properties (Read Only)

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Instance Method Summary collapse

Methods included from AwsCommon

#alive?, all, #attach_generic, #attached?, #available?, #build_create_hash, #by_id, #by_name, #create_generic, #delete_cascade_generic, #delete_generic, #detach_generic, #exists?, #fill_in_details, #find_by_details, #find_global_object, #get_aws_region, #get_state, #handle_singleton_object, #harvest, #perform_operation, #prop_to_hash, #register_aws_object, #resource_api, #running?, #start_generic, #started?, #stop_generic, #terminate_generic

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initialize(opts = {}) ⇒ ResourceRecordSet

Returns a new instance of ResourceRecordSet.

Instance Method Details

#changeObject

#listObject