Class: Ansible::Ruby::Modules::Ec2_vpc_endpoint

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb

Overview

Creates AWS VPC endpoints. Deletes AWS VPC endpoints. This module support check mode.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#client_tokenObject?

Returns Optional client token to ensure idempotency.

Returns:

  • (Object, nil)

    Optional client token to ensure idempotency



49
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 49

attribute :client_token

#policyString?

Returns A properly formatted json policy as string, see U(github.com/ansible/ansible/issues/7005#issuecomment-42894813). Cannot be used with I(policy_file).,Option when creating an endpoint. If not provided AWS will utilise a default policy which provides full access to the service.

Returns:



22
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 22

attribute :policy

#policy_fileString?

Returns The path to the properly json formatted policy file, see U(github.com/ansible/ansible/issues/7005#issuecomment-42894813) on how to use it properly. Cannot be used with I(policy).,Option when creating an endpoint. If not provided AWS will utilise a default policy which provides full access to the service.

Returns:

  • (String, nil)

    The path to the properly json formatted policy file, see U(github.com/ansible/ansible/issues/7005#issuecomment-42894813) on how to use it properly. Cannot be used with I(policy).,Option when creating an endpoint. If not provided AWS will utilise a default policy which provides full access to the service.



26
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 26

attribute :policy_file

#route_table_idsArray<String>, ...

Returns List of one or more route table ids to attach to the endpoint. A route is added to the route table with the destination of the endpoint if provided.

Returns:

  • (Array<String>, String, nil)

    List of one or more route table ids to attach to the endpoint. A route is added to the route table with the destination of the endpoint if provided.



42
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 42

attribute :route_table_ids

#serviceString?

Returns An AWS supported vpc endpoint service. Use the ec2_vpc_endpoint_facts module to describe the supported endpoint services.,Required when creating an endpoint.

Returns:

  • (String, nil)

    An AWS supported vpc endpoint service. Use the ec2_vpc_endpoint_facts module to describe the supported endpoint services.,Required when creating an endpoint.



18
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 18

attribute :service

#state:present, ...

Returns present to ensure resource is created.,absent to remove resource.

Returns:

  • (:present, :absent, nil)

    present to ensure resource is created.,absent to remove resource



30
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 30

attribute :state

#vpc_endpoint_idObject?

Returns One or more vpc endpoint ids to remove from the AWS account.

Returns:

  • (Object, nil)

    One or more vpc endpoint ids to remove from the AWS account



46
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 46

attribute :vpc_endpoint_id

#vpc_idString?

Returns Required when creating a VPC endpoint.

Returns:

  • (String, nil)

    Required when creating a VPC endpoint.



14
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 14

attribute :vpc_id

#waitSymbol?

Returns When specified, will wait for either available status for state present. Unfortunately this is ignored for delete actions due to a difference in behaviour from AWS.

Returns:

  • (Symbol, nil)

    When specified, will wait for either available status for state present. Unfortunately this is ignored for delete actions due to a difference in behaviour from AWS.



34
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 34

attribute :wait

#wait_timeoutInteger?

Returns Used in conjunction with wait. Number of seconds to wait for status. Unfortunately this is ignored for delete actions due to a difference in behaviour from AWS.

Returns:

  • (Integer, nil)

    Used in conjunction with wait. Number of seconds to wait for status. Unfortunately this is ignored for delete actions due to a difference in behaviour from AWS.



38
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 38

attribute :wait_timeout