Class: Ansible::Ruby::Modules::Ec2_vpc_endpoint
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_vpc_endpoint
- 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
-
#client_token ⇒ Object?
Optional client token to ensure idempotency.
-
#policy ⇒ String?
A properly formatted json policy as string, see U(github.com/ansible/ansible/issues/7005#issuecomment-42894813).
-
#policy_file ⇒ String?
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.
-
#route_table_ids ⇒ Array<String>, ...
List of one or more route table ids to attach to the endpoint.
-
#service ⇒ String?
An AWS supported vpc endpoint service.
-
#state ⇒ :present, ...
Present to ensure resource is created.,absent to remove resource.
-
#vpc_endpoint_id ⇒ Object?
One or more vpc endpoint ids to remove from the AWS account.
-
#vpc_id ⇒ String?
Required when creating a VPC endpoint.
-
#wait ⇒ Symbol?
When specified, will wait for either available status for state present.
-
#wait_timeout ⇒ Integer?
Used in conjunction with wait.
Methods inherited from Base
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_token ⇒ Object?
Returns Optional client token to ensure idempotency.
49 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 49 attribute :client_token |
#policy ⇒ String?
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.
22 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 22 attribute :policy |
#policy_file ⇒ String?
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.
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 26 attribute :policy_file |
#route_table_ids ⇒ Array<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.
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 42 attribute :route_table_ids |
#service ⇒ String?
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.
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.
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 30 attribute :state |
#vpc_endpoint_id ⇒ Object?
Returns 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_id ⇒ String?
Returns Required when creating a VPC endpoint.
14 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 14 attribute :vpc_id |
#wait ⇒ Symbol?
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.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 34 attribute :wait |
#wait_timeout ⇒ Integer?
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.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_endpoint.rb', line 38 attribute :wait_timeout |