Class: MintPress::Aws::EC2::Route
- Inherits:
-
Object
- Object
- MintPress::Aws::EC2::Route
- Includes:
- MintLogger, AwsCommon, Mixins::Properties
- Defined in:
- src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb
Properties (Read/Write)
-
#destination_cidr_block ⇒ [String]
'The IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.'
Property Attributes- create_route_prop ⇒ 'destination_cidr_block'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'destination_cidr_block'
- delete_route_prop ⇒ 'destination_cidr_block'
- replace_route_prop ⇒ 'destination_cidr_block'
31 32 33
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 31 property :destination_cidr_block, create_route_prop: 'destination_cidr_block', type: [String], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.', orig_name: 'destination_cidr_block', delete_route_prop: 'destination_cidr_block', replace_route_prop: 'destination_cidr_block'
-
#destination_ipv_6_cidr_block ⇒ [String]
'The IPv6 CIDR block used for the destination match.'
Property Attributes- create_route_prop ⇒ 'destination_ipv_6_cidr_block'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'destination_ipv_6_cidr_block'
- delete_route_prop ⇒ 'destination_ipv_6_cidr_block'
- replace_route_prop ⇒ 'destination_ipv_6_cidr_block'
34
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 34 property :destination_ipv_6_cidr_block, create_route_prop: 'destination_ipv_6_cidr_block', type: [String], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The IPv6 CIDR block used for the destination match.', orig_name: 'destination_ipv_6_cidr_block', delete_route_prop: 'destination_ipv_6_cidr_block', replace_route_prop: 'destination_ipv_6_cidr_block'
-
#dry_run ⇒ [TrueClass,FalseClass]
'Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.'
Property Attributes- create_route_prop ⇒ 'dry_run'
- read_only ⇒ false
- source ⇒ "replace_route"
- delete_route_prop ⇒ 'dry_run'
- replace_route_prop ⇒ 'dry_run'
35 36 37 38
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 35 property :dry_run, create_route_prop: 'dry_run', type: [TrueClass,FalseClass], read_only: false, source: "replace_route", description: 'Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.', delete_route_prop: 'dry_run', replace_route_prop: 'dry_run'
-
#local_target ⇒ [TrueClass,FalseClass]
'Specifies whether to reset the local route to its default target (local).'
Property Attributes- replace_route_prop ⇒ 'local_target'
- read_only ⇒ false
- source ⇒ "replace_route"
41 42
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 41 property :local_target, replace_route_prop: 'local_target', type: [TrueClass,FalseClass], read_only: false, source: "replace_route", description: 'Specifies whether to reset the local route to its default target (local).'
-
#route_table ⇒ [MintPress::Aws::EC2::RouteTable] (Default Value: MintPress::Aws::EC2::RouteTable.new)
'The ID of the route table.'
Property Attributes- create_route_prop ⇒ 'route_table_id'
- disposition ⇒ :association
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- delete_route_prop ⇒ 'route_table_id'
- replace_route_prop ⇒ 'route_table_id'
- orig_name ⇒ 'route_table'
- default ⇒ MintPress::Aws::EC2::RouteTable.new
- from ⇒ String
43
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 43 property :route_table, create_route_prop: 'route_table_id', type: [MintPress::Aws::EC2::RouteTable], disposition: :association, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of the route table.', delete_route_prop: 'route_table_id', replace_route_prop: 'route_table_id', orig_name: 'route_table', default: MintPress::Aws::EC2::RouteTable.new, from: String
-
#destination_prefix_list ⇒ [String]
'The prefix of the AWS service.'
Property Attributes- create_route_prop ⇒ 'destination_prefix_list_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'destination_prefix_list_id'
- delete_route_prop ⇒ 'destination_prefix_list_id'
- replace_route_prop ⇒ 'destination_prefix_list_id'
44
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 44 property :destination_prefix_list, create_route_prop: 'destination_prefix_list_id', type: [String], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The prefix of the AWS service.', orig_name: 'destination_prefix_list_id', delete_route_prop: 'destination_prefix_list_id', replace_route_prop: 'destination_prefix_list_id'
-
#vpc_endpoint ⇒ [MintPress::Aws::EC2::VpcEndpoint]
'The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.'
Property Attributes- create_route_prop ⇒ 'vpc_endpoint_id'
- read_only ⇒ false
- source ⇒ "replace_route"
- replace_route_prop ⇒ 'vpc_endpoint_id'
- from ⇒ String
45 46
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 45 property :vpc_endpoint, create_route_prop: 'vpc_endpoint_id', type: [MintPress::Aws::EC2::VpcEndpoint], read_only: false, source: "replace_route", description: 'The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.', replace_route_prop: 'vpc_endpoint_id', from: String
-
#egress_only_internet_gateway ⇒ [MintPress::Aws::EC2::EgressOnlyInternetGateway]
'The ID of the egress-only internet gateway.'
Property Attributes- create_route_prop ⇒ 'egress_only_internet_gateway_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'egress_only_internet_gateway_id'
- replace_route_prop ⇒ 'egress_only_internet_gateway_id'
- from ⇒ String
47
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 47 property :egress_only_internet_gateway, create_route_prop: 'egress_only_internet_gateway_id', type: [MintPress::Aws::EC2::EgressOnlyInternetGateway], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of the egress-only internet gateway.', orig_name: 'egress_only_internet_gateway_id', replace_route_prop: 'egress_only_internet_gateway_id', from: String
-
#gateway ⇒ [String]
'The ID of a gateway attached to your VPC.'
Property Attributes- create_route_prop ⇒ 'gateway_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'gateway_id'
- replace_route_prop ⇒ 'gateway_id'
48
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 48 property :gateway, create_route_prop: 'gateway_id', type: [String], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of a gateway attached to your VPC.', orig_name: 'gateway_id', replace_route_prop: 'gateway_id'
-
#instance ⇒ [MintPress::Aws::EC2::Instance]
'The ID of a NAT instance in your VPC.'
Property Attributes- create_route_prop ⇒ 'instance_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'instance_id'
- replace_route_prop ⇒ 'instance_id'
- from ⇒ String
49
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 49 property :instance, create_route_prop: 'instance_id', type: [MintPress::Aws::EC2::Instance], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of a NAT instance in your VPC.', orig_name: 'instance_id', replace_route_prop: 'instance_id', from: String
-
#nat_gateway ⇒ [MintPress::Aws::EC2::NatGateway]
'The ID of a NAT gateway.'
Property Attributes- create_route_prop ⇒ 'nat_gateway_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'nat_gateway_id'
- replace_route_prop ⇒ 'nat_gateway_id'
- from ⇒ String
50
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 50 property :nat_gateway, create_route_prop: 'nat_gateway_id', type: [MintPress::Aws::EC2::NatGateway], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of a NAT gateway.', orig_name: 'nat_gateway_id', replace_route_prop: 'nat_gateway_id', from: String
-
#transit_gateway ⇒ [MintPress::Aws::EC2::TransitGateway]
'The ID of a transit gateway.'
Property Attributes- create_route_prop ⇒ 'transit_gateway_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'transit_gateway_id'
- replace_route_prop ⇒ 'transit_gateway_id'
- from ⇒ String
51
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 51 property :transit_gateway, create_route_prop: 'transit_gateway_id', type: [MintPress::Aws::EC2::TransitGateway], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of a transit gateway.', orig_name: 'transit_gateway_id', replace_route_prop: 'transit_gateway_id', from: String
-
#local_gateway ⇒ [MintPress::Aws::EC2::LocalGateway]
'The ID of the local gateway.'
Property Attributes- create_route_prop ⇒ 'local_gateway_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'local_gateway_id'
- replace_route_prop ⇒ 'local_gateway_id'
- from ⇒ String
52
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 52 property :local_gateway, create_route_prop: 'local_gateway_id', type: [MintPress::Aws::EC2::LocalGateway], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of the local gateway.', orig_name: 'local_gateway_id', replace_route_prop: 'local_gateway_id', from: String
-
#carrier_gateway ⇒ [MintPress::Aws::EC2::CarrierGateway]
'The ID of the carrier gateway.'
Property Attributes- create_route_prop ⇒ 'carrier_gateway_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'carrier_gateway_id'
- replace_route_prop ⇒ 'carrier_gateway_id'
- from ⇒ String
53
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 53 property :carrier_gateway, create_route_prop: 'carrier_gateway_id', type: [MintPress::Aws::EC2::CarrierGateway], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of the carrier gateway.', orig_name: 'carrier_gateway_id', replace_route_prop: 'carrier_gateway_id', from: String
-
#network_interface ⇒ [MintPress::Aws::EC2::NetworkInterface]
'The ID of the network interface.'
Property Attributes- create_route_prop ⇒ 'network_interface_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'network_interface_id'
- replace_route_prop ⇒ 'network_interface_id'
- from ⇒ String
54
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 54 property :network_interface, create_route_prop: 'network_interface_id', type: [MintPress::Aws::EC2::NetworkInterface], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of the network interface.', orig_name: 'network_interface_id', replace_route_prop: 'network_interface_id', from: String
-
#vpc_peering_connection ⇒ [MintPress::Aws::EC2::VpcPeeringConnection]
'The ID of a VPC peering connection.'
Property Attributes- create_route_prop ⇒ 'vpc_peering_connection_id'
- disposition ⇒ :read_only_attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'vpc_peering_connection_id'
- replace_route_prop ⇒ 'vpc_peering_connection_id'
- from ⇒ String
55
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 55 property :vpc_peering_connection, create_route_prop: 'vpc_peering_connection_id', type: [MintPress::Aws::EC2::VpcPeeringConnection], disposition: :read_only_attribute, read_only: false, source: "MintPress::Aws::EC2::Route", description: 'The ID of a VPC peering connection.', orig_name: 'vpc_peering_connection_id', replace_route_prop: 'vpc_peering_connection_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 Attributes60
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 60 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- default ⇒ MintPress::InfrastructureAws::AwsPlatform.new
63
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 63 property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new
Properties (Read Only)
-
#origin ⇒ [String]
'Describes how the route was created.'
Property Attributes- disposition ⇒ :read_only_attribute
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'origin'
- read_only ⇒ true
39
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 39 property :origin, disposition: :read_only_attribute, description: 'Describes how the route was created.', source: "MintPress::Aws::EC2::Route", orig_name: 'origin', type: [String], read_only: true
-
#state ⇒ [String]
'The state of the route.'
Property Attributes- disposition ⇒ :read_only_attribute
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'state'
- read_only ⇒ true
40
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 40 property :state, disposition: :read_only_attribute, description: 'The state of the route.', source: "MintPress::Aws::EC2::Route", orig_name: 'state', type: [String], read_only: true
-
#instance_owner ⇒ [String]
'The AWS account ID of the owner of the instance.'
Property Attributes- disposition ⇒ :read_only_attribute
- source ⇒ "MintPress::Aws::EC2::Route"
- orig_name ⇒ 'instance_owner_id'
- read_only ⇒ true
56
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/route.rb', line 56 property :instance_owner, disposition: :read_only_attribute, description: 'The AWS account ID of the owner of the instance.', source: "MintPress::Aws::EC2::Route", orig_name: 'instance_owner_id', type: [String], read_only: true
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
- #create ⇒ Object
- #delete ⇒ Object
- #delete_cascade ⇒ Object
-
#initialize(opts = {}) ⇒ Route
constructor
A new instance of Route.
- #replace ⇒ Object
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