Class: MintPress::Aws::EC2::TransitGatewayVpcAttachment

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

Properties (Read/Write)

  • #creation_time ⇒ [Time]
    'The creation time.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::TransitGatewayVpcAttachment"
    • orig_name'creation_time'
    
    
    33
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 33
    
    property :creation_time, disposition: :attribute, description: 'The creation time.', source: "MintPress::Aws::EC2::TransitGatewayVpcAttachment", orig_name: 'creation_time', type: [Time]
  • #options ⇒ [MintPress::Aws::EC2::ModifyTransitGatewayVpcAttachmentOption] (Default Value: MintPress::Aws::EC2::ModifyTransitGatewayVpcAttachmentOption.new)
    'The new VPC attachment options. You cannot modify the IPv6 options.'

    Property Attributes
    • source"modify_transit_gateway_vpc_attachment"
    • orig_name'options'
    • defaultMintPress::Aws::EC2::ModifyTransitGatewayVpcAttachmentOption.new
    • create_transit_gateway_vpc_attachment_prop'options'
    • read_onlyfalse
    • modify_transit_gateway_vpc_attachment_prop'options'
    
    
    34
    35
    36
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 34
    
    property :options, description: 'The new VPC attachment options.
    
    You cannot modify the IPv6 options.', source: "modify_transit_gateway_vpc_attachment", orig_name: 'options', type: [MintPress::Aws::EC2::ModifyTransitGatewayVpcAttachmentOption], default: MintPress::Aws::EC2::ModifyTransitGatewayVpcAttachmentOption.new, create_transit_gateway_vpc_attachment_prop: 'options', read_only: false, modify_transit_gateway_vpc_attachment_prop: 'options'
  • #state ⇒ [String]
    'The state of the VPC attachment.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::TransitGatewayVpcAttachment"
    • orig_name'state'
    
    
    37
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 37
    
    property :state, disposition: :attribute, description: 'The state of the VPC attachment.', source: "MintPress::Aws::EC2::TransitGatewayVpcAttachment", orig_name: 'state', type: [String]
  • #tags ⇒ Hash of ⇒ [MintPress::Aws::EC2::Tag]
    'The tags to apply to the VPC attachment.'

    Property Attributes
    • source"create_transit_gateway_vpc_attachment"
    • orig_name'tags'
    • create_transit_gateway_vpc_attachment_prop'tag_specifications'
    • read_onlyfalse
    
    
    38
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 38
    
    property :tags, description: 'The tags to apply to the VPC attachment.', source: "create_transit_gateway_vpc_attachment", orig_name: 'tags', type: [MintPress::Aws::EC2::Tag], array: false, create_transit_gateway_vpc_attachment_prop: 'tag_specifications', read_only: false, hash: true
  • #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
    • accept_transit_gateway_vpc_attachment_prop'dry_run'
    • read_onlyfalse
    • source"modify_transit_gateway_vpc_attachment"
    • create_transit_gateway_vpc_attachment_prop'dry_run'
    • delete_transit_gateway_vpc_attachment_prop'dry_run'
    • describe_transit_gateway_vpc_attachments_prop'dry_run'
    • modify_transit_gateway_vpc_attachment_prop'dry_run'
    
    
    39
    40
    41
    42
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 39
    
    property :dry_run, accept_transit_gateway_vpc_attachment_prop: 'dry_run', type: [TrueClass,FalseClass], read_only: false, source: "modify_transit_gateway_vpc_attachment", 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.', create_transit_gateway_vpc_attachment_prop: 'dry_run', delete_transit_gateway_vpc_attachment_prop: 'dry_run', describe_transit_gateway_vpc_attachments_prop: 'dry_run', modify_transit_gateway_vpc_attachment_prop: 'dry_run'
  • #filters ⇒ Hash of ⇒ [MintPress::Aws::EC2::Filter]
    'One or more filters. The possible values are: state - The state of the attachment. Valid values are available | deleted | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance | pending | rollingBack | rejected | rejecting. transit-gateway-attachment-id - The ID of the attachment. transit-gateway-id - The ID of the transit gateway. vpc-id - The ID of the VPC.'

    Property Attributes
    • describe_transit_gateway_vpc_attachments_prop'filters'
    • source"describe_transit_gateway_vpc_attachments"
    
    
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 43
    
    property :filters, describe_transit_gateway_vpc_attachments_prop: 'filters', type: [MintPress::Aws::EC2::Filter], array: false, source: "describe_transit_gateway_vpc_attachments", description: 'One or more filters. The possible values are:
    
    
    state - The state of the attachment. Valid values are available
    | deleted | deleting | failed | failing |
    initiatingRequest | modifying | pendingAcceptance |
    pending | rollingBack | rejected | rejecting.
    transit-gateway-attachment-id - The ID of the attachment.
    transit-gateway-id - The ID of the transit gateway.
    vpc-id - The ID of the VPC.', hash: true
  • #max_results ⇒ [Integer]
    'The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.'

    Property Attributes
    • describe_transit_gateway_vpc_attachments_prop'max_results'
    • source"describe_transit_gateway_vpc_attachments"
    
    
    53
    54
    55
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 53
    
    property :max_results, describe_transit_gateway_vpc_attachments_prop: 'max_results', type: [Integer], source: "describe_transit_gateway_vpc_attachments", description: 'The maximum number of results to return with a single call. To
    retrieve the remaining results, make another call with the returned
    nextToken value.'
  • #subnets ⇒ Hash of ⇒ [MintPress::Aws::EC2::Subnet]
    'The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.'

    Property Attributes
    • source"create_transit_gateway_vpc_attachment"
    • orig_name'subnet_ids'
    • create_transit_gateway_vpc_attachment_prop'subnet_ids'
    • read_onlyfalse
    • fromString
    
    
    56
    57
    58
    59
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 56
    
    property :subnets, description: 'The IDs of one or more subnets. You can specify only one subnet per
    Availability Zone. You must specify at least one subnet, but we
    recommend that you specify two subnets for better availability. The
    transit gateway uses one IP address from each specified subnet.', source: "create_transit_gateway_vpc_attachment", orig_name: 'subnet_ids', type: [MintPress::Aws::EC2::Subnet], array: false, create_transit_gateway_vpc_attachment_prop: 'subnet_ids', read_only: false, from: String, hash: true
  • #transit_gateway_attachment ⇒ [MintPress::Aws::EC2::TransitGatewayAttachment]
    'The ID of the attachment.'

    Property Attributes
    • source"modify_transit_gateway_vpc_attachment"
    • orig_name'transit_gateway_attachment_id'
    • accept_transit_gateway_vpc_attachment_prop'transit_gateway_attachment_id'
    • read_onlyfalse
    • delete_transit_gateway_vpc_attachment_prop'transit_gateway_attachment_id'
    • modify_transit_gateway_vpc_attachment_prop'transit_gateway_attachment_id'
    • fromString
    
    
    60
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 60
    
    property :transit_gateway_attachment, description: 'The ID of the attachment.', source: "modify_transit_gateway_vpc_attachment", orig_name: 'transit_gateway_attachment_id', type: [MintPress::Aws::EC2::TransitGatewayAttachment], accept_transit_gateway_vpc_attachment_prop: 'transit_gateway_attachment_id', read_only: false, delete_transit_gateway_vpc_attachment_prop: 'transit_gateway_attachment_id', modify_transit_gateway_vpc_attachment_prop: 'transit_gateway_attachment_id', from: String
  • #transit_gateway ⇒ [MintPress::Aws::EC2::TransitGateway]
    'The ID of the transit gateway.'

    Property Attributes
    • source"create_transit_gateway_vpc_attachment"
    • orig_name'transit_gateway_id'
    • create_transit_gateway_vpc_attachment_prop'transit_gateway_id'
    • read_onlyfalse
    • fromString
    
    
    61
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 61
    
    property :transit_gateway, description: 'The ID of the transit gateway.', source: "create_transit_gateway_vpc_attachment", orig_name: 'transit_gateway_id', type: [MintPress::Aws::EC2::TransitGateway], create_transit_gateway_vpc_attachment_prop: 'transit_gateway_id', read_only: false, from: String
  • #vpc ⇒ [MintPress::Aws::EC2::Vpc]
    'The ID of the VPC.'

    Property Attributes
    • source"create_transit_gateway_vpc_attachment"
    • orig_name'vpc_id'
    • create_transit_gateway_vpc_attachment_prop'vpc_id'
    • read_onlyfalse
    • fromString
    
    
    62
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 62
    
    property :vpc, description: 'The ID of the VPC.', source: "create_transit_gateway_vpc_attachment", orig_name: 'vpc_id', type: [MintPress::Aws::EC2::Vpc], create_transit_gateway_vpc_attachment_prop: 'vpc_id', read_only: false, from: String
  • #vpc_owner ⇒ [String]
    'The ID of the AWS account that owns the VPC.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::TransitGatewayVpcAttachment"
    • orig_name'vpc_owner_id'
    
    
    63
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 63
    
    property :vpc_owner, disposition: :attribute, description: 'The ID of the AWS account that owns the VPC.', source: "MintPress::Aws::EC2::TransitGatewayVpcAttachment", orig_name: 'vpc_owner_id', type: [String]
  • #transit_gateway_attachments ⇒ Hash of ⇒ [MintPress::Aws::EC2::TransitGatewayAttachment]
    'The IDs of the attachments.'

    Property Attributes
    • describe_transit_gateway_vpc_attachments_prop'transit_gateway_attachment_ids'
    • source"describe_transit_gateway_vpc_attachments"
    • fromString
    
    
    64
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 64
    
    property :transit_gateway_attachments, describe_transit_gateway_vpc_attachments_prop: 'transit_gateway_attachment_ids', type: [MintPress::Aws::EC2::TransitGatewayAttachment], array: false, source: "describe_transit_gateway_vpc_attachments", description: 'The IDs of the attachments.', from: String, hash: true
  • #add_subnets ⇒ Array of ⇒ [String]
    'The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.'

    Property Attributes
    • modify_transit_gateway_vpc_attachment_prop'add_subnet_ids'
    • read_onlyfalse
    • source"modify_transit_gateway_vpc_attachment"
    
    
    65
    66
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 65
    
    property :add_subnets, modify_transit_gateway_vpc_attachment_prop: 'add_subnet_ids', type: [String], array: true, read_only: false, source: "modify_transit_gateway_vpc_attachment", description: 'The IDs of one or more subnets to add. You can specify at most one
    subnet per Availability Zone.'
  • #remove_subnets ⇒ Array of ⇒ [String]
    'The IDs of one or more subnets to remove.'

    Property Attributes
    • modify_transit_gateway_vpc_attachment_prop'remove_subnet_ids'
    • read_onlyfalse
    • source"modify_transit_gateway_vpc_attachment"
    
    
    67
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 67
    
    property :remove_subnets, modify_transit_gateway_vpc_attachment_prop: 'remove_subnet_ids', type: [String], array: true, read_only: false, source: "modify_transit_gateway_vpc_attachment", description: 'The IDs of one or more subnets to remove.'
  • #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
    
    
    71
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 71
    
    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
    
    
    74
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/transit_gateway_vpc_attachment.rb', line 74
    
    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 = {}) ⇒ TransitGatewayVpcAttachment

Returns a new instance of TransitGatewayVpcAttachment.

Instance Method Details

#acceptObject

#createObject

#deleteObject

#delete_cascadeObject

#describeObject

#modifyObject