Convert to reduced list of known types (#50010)
This commit is contained in:
parent
fcd1486b51
commit
05c6ff79f9
908 changed files with 4822 additions and 4821 deletions
|
@ -268,7 +268,7 @@ instances:
|
|||
availability_zone:
|
||||
description: The availability zone of the instance is in.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: cn-beijing-a
|
||||
block_device_mappings:
|
||||
description: Any block device mapping entries for the instance.
|
||||
|
@ -278,12 +278,12 @@ instances:
|
|||
device_name:
|
||||
description: The device name exposed to the instance (for example, /dev/xvda).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /dev/xvda
|
||||
attach_time:
|
||||
description: The time stamp when the attachment initiated.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-06-25T04:08:26Z"
|
||||
delete_on_termination:
|
||||
description: Indicates whether the volume is deleted on instance termination.
|
||||
|
@ -293,12 +293,12 @@ instances:
|
|||
status:
|
||||
description: The attachment state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in_use
|
||||
volume_id:
|
||||
description: The ID of the cloud disk.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: d-2zei53pjsi117y6gf9t6
|
||||
cpu:
|
||||
description: The CPU core count of the instance.
|
||||
|
@ -308,12 +308,12 @@ instances:
|
|||
creation_time:
|
||||
description: The time the instance was created.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-06-25T04:08Z"
|
||||
description:
|
||||
description: The instance description.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "my ansible instance"
|
||||
eip:
|
||||
description: The attribution of EIP associated with the instance.
|
||||
|
@ -323,22 +323,22 @@ instances:
|
|||
allocation_id:
|
||||
description: The ID of the EIP.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: eip-12345
|
||||
internet_charge_type:
|
||||
description: The internet charge type of the EIP.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "paybybandwidth"
|
||||
ip_address:
|
||||
description: EIP address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 42.10.2.2
|
||||
expired_time:
|
||||
description: The time the instance will expire.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2099-12-31T15:59Z"
|
||||
gpu:
|
||||
description: The attribution of instance GPU.
|
||||
|
@ -353,52 +353,52 @@ instances:
|
|||
spec:
|
||||
description: The specification of the GPU.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
host_name:
|
||||
description: The host name of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: iZ2zewaoZ
|
||||
id:
|
||||
description: Alias of instance_id.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: i-abc12345
|
||||
instance_id:
|
||||
description: ECS instance resource ID.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: i-abc12345
|
||||
image_id:
|
||||
description: The ID of the image used to launch the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: m-0011223344
|
||||
inner_ip_address:
|
||||
description: The inner IPv4 address of the classic instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.2
|
||||
instance_charge_type:
|
||||
description: The instance charge type.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: PostPaid
|
||||
instance_name:
|
||||
description: The name of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-ecs
|
||||
instance_type:
|
||||
description: The instance type of the running instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ecs.sn1ne.xlarge
|
||||
internet_charge_type:
|
||||
description: The billing method of the network bandwidth.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: PayByBandwidth
|
||||
internet_max_bandwidth_in:
|
||||
description: Maximum incoming bandwidth from the internet network.
|
||||
|
@ -428,42 +428,42 @@ instances:
|
|||
mac_address:
|
||||
description: The MAC address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "00:11:22:33:44:55"
|
||||
network_interface_id:
|
||||
description: The ID of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: eni-01234567
|
||||
primary_ip_address:
|
||||
description: The primary IPv4 address of the network interface within the vswitch.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
osname:
|
||||
description: The operation system name of the instance owned.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: CentOS
|
||||
ostype:
|
||||
description: The operation system type of the instance owned.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: linux
|
||||
private_ip_address:
|
||||
description: The IPv4 address of the network interface within the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
public_ip_address:
|
||||
description: The public IPv4 address assigned to the instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 43.0.0.1
|
||||
resource_group_id:
|
||||
description: The id of the resource group to which the instance belongs.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-ecs-group
|
||||
security_groups:
|
||||
description: One or more security groups for the instance.
|
||||
|
@ -473,17 +473,17 @@ instances:
|
|||
- group_id:
|
||||
description: The ID of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sg-0123456
|
||||
- group_name:
|
||||
description: The name of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-security-group
|
||||
status:
|
||||
description: The current status of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: running
|
||||
tags:
|
||||
description: Any tags assigned to the instance.
|
||||
|
@ -493,7 +493,7 @@ instances:
|
|||
vswitch_id:
|
||||
description: The ID of the vswitch in which the instance is running.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vsw-dew00abcdef
|
||||
vpc_id:
|
||||
description: The ID of the VPC the instance is in.
|
||||
|
|
|
@ -97,7 +97,7 @@ instances:
|
|||
availability_zone:
|
||||
description: The availability zone of the instance is in.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: cn-beijing-a
|
||||
block_device_mappings:
|
||||
description: Any block device mapping entries for the instance.
|
||||
|
@ -107,12 +107,12 @@ instances:
|
|||
device_name:
|
||||
description: The device name exposed to the instance (for example, /dev/xvda).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /dev/xvda
|
||||
attach_time:
|
||||
description: The time stamp when the attachment initiated.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-06-25T04:08:26Z"
|
||||
delete_on_termination:
|
||||
description: Indicates whether the volume is deleted on instance termination.
|
||||
|
@ -122,12 +122,12 @@ instances:
|
|||
status:
|
||||
description: The attachment state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in_use
|
||||
volume_id:
|
||||
description: The ID of the cloud disk.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: d-2zei53pjsi117y6gf9t6
|
||||
cpu:
|
||||
description: The CPU core count of the instance.
|
||||
|
@ -137,12 +137,12 @@ instances:
|
|||
creation_time:
|
||||
description: The time the instance was created.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-06-25T04:08Z"
|
||||
description:
|
||||
description: The instance description.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "my ansible instance"
|
||||
eip:
|
||||
description: The attribution of EIP associated with the instance.
|
||||
|
@ -152,22 +152,22 @@ instances:
|
|||
allocation_id:
|
||||
description: The ID of the EIP.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: eip-12345
|
||||
internet_charge_type:
|
||||
description: The internet charge type of the EIP.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "paybybandwidth"
|
||||
ip_address:
|
||||
description: EIP address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 42.10.2.2
|
||||
expired_time:
|
||||
description: The time the instance will expire.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2099-12-31T15:59Z"
|
||||
gpu:
|
||||
description: The attribution of instance GPU.
|
||||
|
@ -182,52 +182,52 @@ instances:
|
|||
spec:
|
||||
description: The specification of the GPU.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
host_name:
|
||||
description: The host name of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: iZ2zewaoZ
|
||||
id:
|
||||
description: Alias of instance_id.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: i-abc12345
|
||||
instance_id:
|
||||
description: ECS instance resource ID.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: i-abc12345
|
||||
image_id:
|
||||
description: The ID of the image used to launch the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: m-0011223344
|
||||
inner_ip_address:
|
||||
description: The inner IPv4 address of the classic instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.2
|
||||
instance_charge_type:
|
||||
description: The instance charge type.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: PostPaid
|
||||
instance_name:
|
||||
description: The name of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-ecs
|
||||
instance_type:
|
||||
description: The instance type of the running instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ecs.sn1ne.xlarge
|
||||
internet_charge_type:
|
||||
description: The billing method of the network bandwidth.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: PayByBandwidth
|
||||
internet_max_bandwidth_in:
|
||||
description: Maximum incoming bandwidth from the internet network.
|
||||
|
@ -257,42 +257,42 @@ instances:
|
|||
mac_address:
|
||||
description: The MAC address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "00:11:22:33:44:55"
|
||||
network_interface_id:
|
||||
description: The ID of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: eni-01234567
|
||||
primary_ip_address:
|
||||
description: The primary IPv4 address of the network interface within the vswitch.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
osname:
|
||||
description: The operation system name of the instance owned.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: CentOS
|
||||
ostype:
|
||||
description: The operation system type of the instance owned.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: linux
|
||||
private_ip_address:
|
||||
description: The IPv4 address of the network interface within the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
public_ip_address:
|
||||
description: The public IPv4 address assigned to the instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 43.0.0.1
|
||||
resource_group_id:
|
||||
description: The id of the resource group to which the instance belongs.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-ecs-group
|
||||
security_groups:
|
||||
description: One or more security groups for the instance.
|
||||
|
@ -302,17 +302,17 @@ instances:
|
|||
- group_id:
|
||||
description: The ID of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sg-0123456
|
||||
- group_name:
|
||||
description: The name of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-security-group
|
||||
status:
|
||||
description: The current status of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: running
|
||||
tags:
|
||||
description: Any tags assigned to the instance.
|
||||
|
@ -322,7 +322,7 @@ instances:
|
|||
vswitch_id:
|
||||
description: The ID of the vswitch in which the instance is running.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vsw-dew00abcdef
|
||||
vpc_id:
|
||||
description: The ID of the VPC the instance is in.
|
||||
|
|
|
@ -168,12 +168,12 @@ RETURN = '''
|
|||
ami_id:
|
||||
description: id of found amazon image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "ami-e9095e8c"
|
||||
architecture:
|
||||
description: architecture of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "x86_64"
|
||||
block_device_mapping:
|
||||
description: block device mapping associated with image
|
||||
|
@ -190,17 +190,17 @@ block_device_mapping:
|
|||
creationDate:
|
||||
description: creation date of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "2015-10-15T22:43:44.000Z"
|
||||
description:
|
||||
description: description of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "test-server01"
|
||||
hypervisor:
|
||||
description: type of hypervisor
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "xen"
|
||||
is_public:
|
||||
description: whether image is public
|
||||
|
@ -210,37 +210,37 @@ is_public:
|
|||
location:
|
||||
description: location of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "435210894375/test-server01-20151015-234343"
|
||||
name:
|
||||
description: ami name of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "test-server01-20151015-234343"
|
||||
owner_id:
|
||||
description: owner of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "435210894375"
|
||||
platform:
|
||||
description: platform of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: null
|
||||
root_device_name:
|
||||
description: root device name of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "/dev/xvda"
|
||||
root_device_type:
|
||||
description: root device type of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "ebs"
|
||||
state:
|
||||
description: state of image
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "available"
|
||||
tags:
|
||||
description: tags assigned to image
|
||||
|
@ -254,7 +254,7 @@ tags:
|
|||
virtualization_type:
|
||||
description: image virtualization type
|
||||
returned: when AMI found
|
||||
type: string
|
||||
type: str
|
||||
sample: "hvm"
|
||||
'''
|
||||
|
||||
|
|
|
@ -56,27 +56,27 @@ certificates:
|
|||
description: The ACM Certificate body
|
||||
returned: when certificate creation is complete
|
||||
sample: '-----BEGIN CERTIFICATE-----\\nMII.....-----END CERTIFICATE-----\\n'
|
||||
type: string
|
||||
type: str
|
||||
certificate_arn:
|
||||
description: Certificate ARN
|
||||
returned: always
|
||||
sample: arn:aws:acm:ap-southeast-2:123456789012:certificate/abcd1234-abcd-1234-abcd-123456789abc
|
||||
type: string
|
||||
type: str
|
||||
certificate_chain:
|
||||
description: Full certificate chain for the certificate
|
||||
returned: when certificate creation is complete
|
||||
sample: '-----BEGIN CERTIFICATE-----\\nMII...\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n...'
|
||||
type: string
|
||||
type: str
|
||||
created_at:
|
||||
description: Date certificate was created
|
||||
returned: always
|
||||
sample: '2017-08-15T10:31:19+10:00'
|
||||
type: string
|
||||
type: str
|
||||
domain_name:
|
||||
description: Domain name for the certificate
|
||||
returned: always
|
||||
sample: '*.example.com'
|
||||
type: string
|
||||
type: str
|
||||
domain_validation_options:
|
||||
description: Options used by ACM to validate the certificate
|
||||
returned: when certificate type is AMAZON_ISSUED
|
||||
|
@ -86,12 +86,12 @@ certificates:
|
|||
description: Fully qualified domain name of the certificate
|
||||
returned: always
|
||||
sample: example.com
|
||||
type: string
|
||||
type: str
|
||||
validation_domain:
|
||||
description: The domain name ACM used to send validation emails
|
||||
returned: always
|
||||
sample: example.com
|
||||
type: string
|
||||
type: str
|
||||
validation_emails:
|
||||
description: A list of email addresses that ACM used to send domain validation emails
|
||||
returned: always
|
||||
|
@ -103,11 +103,11 @@ certificates:
|
|||
description: Validation status of the domain
|
||||
returned: always
|
||||
sample: SUCCESS
|
||||
type: string
|
||||
type: str
|
||||
failure_reason:
|
||||
description: Reason certificate request failed
|
||||
returned: only when certificate issuing failed
|
||||
type: string
|
||||
type: str
|
||||
sample: NO_AVAILABLE_CONTACTS
|
||||
in_use_by:
|
||||
description: A list of ARNs for the AWS resources that are using the certificate.
|
||||
|
@ -118,27 +118,27 @@ certificates:
|
|||
description: Date certificate was issued
|
||||
returned: always
|
||||
sample: '2017-01-01T00:00:00+10:00'
|
||||
type: string
|
||||
type: str
|
||||
issuer:
|
||||
description: Issuer of the certificate
|
||||
returned: always
|
||||
sample: Amazon
|
||||
type: string
|
||||
type: str
|
||||
key_algorithm:
|
||||
description: Algorithm used to generate the certificate
|
||||
returned: always
|
||||
sample: RSA-2048
|
||||
type: string
|
||||
type: str
|
||||
not_after:
|
||||
description: Date after which the certificate is not valid
|
||||
returned: always
|
||||
sample: '2019-01-01T00:00:00+10:00'
|
||||
type: string
|
||||
type: str
|
||||
not_before:
|
||||
description: Date before which the certificate is not valid
|
||||
returned: always
|
||||
sample: '2017-01-01T00:00:00+10:00'
|
||||
type: string
|
||||
type: str
|
||||
renewal_summary:
|
||||
description: Information about managed renewal process
|
||||
returned: when certificate is issued by Amazon and a renewal has been started
|
||||
|
@ -153,12 +153,12 @@ certificates:
|
|||
description: Fully qualified domain name of the certificate
|
||||
returned: always
|
||||
sample: example.com
|
||||
type: string
|
||||
type: str
|
||||
validation_domain:
|
||||
description: The domain name ACM used to send validation emails
|
||||
returned: always
|
||||
sample: example.com
|
||||
type: string
|
||||
type: str
|
||||
validation_emails:
|
||||
description: A list of email addresses that ACM used to send domain validation emails
|
||||
returned: always
|
||||
|
@ -170,42 +170,42 @@ certificates:
|
|||
description: Validation status of the domain
|
||||
returned: always
|
||||
sample: SUCCESS
|
||||
type: string
|
||||
type: str
|
||||
renewal_status:
|
||||
description: Status of the domain renewal
|
||||
returned: always
|
||||
sample: PENDING_AUTO_RENEWAL
|
||||
type: string
|
||||
type: str
|
||||
revocation_reason:
|
||||
description: Reason for certificate revocation
|
||||
returned: when the certificate has been revoked
|
||||
sample: SUPERCEDED
|
||||
type: string
|
||||
type: str
|
||||
revoked_at:
|
||||
description: Date certificate was revoked
|
||||
returned: when the certificate has been revoked
|
||||
sample: '2017-09-01T10:00:00+10:00'
|
||||
type: string
|
||||
type: str
|
||||
serial:
|
||||
description: The serial number of the certificate
|
||||
returned: always
|
||||
sample: 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
|
||||
type: string
|
||||
type: str
|
||||
signature_algorithm:
|
||||
description: Algorithm used to sign the certificate
|
||||
returned: always
|
||||
sample: SHA256WITHRSA
|
||||
type: string
|
||||
type: str
|
||||
status:
|
||||
description: Status of the certificate in ACM
|
||||
returned: always
|
||||
sample: ISSUED
|
||||
type: string
|
||||
type: str
|
||||
subject:
|
||||
description: The name of the entity that is associated with the public key contained in the certificate
|
||||
returned: always
|
||||
sample: CN=*.example.com
|
||||
type: string
|
||||
type: str
|
||||
subject_alternative_names:
|
||||
description: Subject Alternative Names for the certificate
|
||||
returned: always
|
||||
|
@ -223,7 +223,7 @@ certificates:
|
|||
description: The source of the certificate
|
||||
returned: always
|
||||
sample: AMAZON_ISSUED
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -139,38 +139,38 @@ alarms:
|
|||
alarm_arn:
|
||||
description: The Amazon Resource Name (ARN) of the alarm
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
alarm_name:
|
||||
description: The name of the alarm
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
service_namespace:
|
||||
description: The namespace of the AWS service.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: ecs
|
||||
resource_id:
|
||||
description: The identifier of the resource associated with the scalable target.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: service/cluster-name/service-name
|
||||
scalable_dimension:
|
||||
description: The scalable dimension associated with the scalable target.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: ecs:service:DesiredCount
|
||||
policy_arn:
|
||||
description: The Amazon Resource Name (ARN) of the scaling policy..
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
policy_name:
|
||||
description: The name of the scaling policy.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
policy_type:
|
||||
description: The policy type.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
min_capacity:
|
||||
description: The minimum value to scale to in response to a scale in event. Required if I(state) is C(present).
|
||||
returned: when state present
|
||||
|
@ -184,7 +184,7 @@ max_capacity:
|
|||
role_arn:
|
||||
description: The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. Required if I(state) is C(present).
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:iam::123456789123:role/roleName
|
||||
step_scaling_policy_configuration:
|
||||
description: The step scaling policy.
|
||||
|
@ -194,7 +194,7 @@ step_scaling_policy_configuration:
|
|||
adjustment_type:
|
||||
description: The adjustment type
|
||||
returned: when state present and the policy type is StepScaling
|
||||
type: string
|
||||
type: str
|
||||
sample: "ChangeInCapacity, PercentChangeInCapacity, ExactCapacity"
|
||||
cooldown:
|
||||
description: The amount of time, in seconds, after a scaling activity completes
|
||||
|
@ -205,7 +205,7 @@ step_scaling_policy_configuration:
|
|||
metric_aggregation_type:
|
||||
description: The aggregation type for the CloudWatch metrics
|
||||
returned: when state present and the policy type is StepScaling
|
||||
type: string
|
||||
type: str
|
||||
sample: "Average, Minimum, Maximum"
|
||||
step_adjustments:
|
||||
description: A set of adjustments that enable you to scale based on the size of the alarm breach
|
||||
|
@ -224,12 +224,12 @@ target_tracking_scaling_policy_configuration:
|
|||
predefined_metric_type:
|
||||
description: The metric type
|
||||
returned: when state present and the policy type is TargetTrackingScaling
|
||||
type: string
|
||||
type: str
|
||||
sample: "ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization"
|
||||
resource_label:
|
||||
description: Identifies the resource associated with the metric type
|
||||
returned: when metric type is ALBRequestCountPerTarget
|
||||
type: string
|
||||
type: str
|
||||
scale_in_cooldown:
|
||||
description: The amount of time, in seconds, after a scale in activity completes before another scale in activity can start
|
||||
returned: when state present and the policy type is TargetTrackingScaling
|
||||
|
@ -248,7 +248,7 @@ target_tracking_scaling_policy_configuration:
|
|||
creation_time:
|
||||
description: The Unix timestamp for when the scalable target was created.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-09-28T08:22:51.881000-03:00'
|
||||
''' # NOQA
|
||||
|
||||
|
|
|
@ -39,24 +39,24 @@ RETURN = '''
|
|||
account:
|
||||
description: The account id the access credentials are associated with.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "123456789012"
|
||||
account_alias:
|
||||
description: The account alias the access credentials are associated with.
|
||||
returned: when caller has the iam:ListAccountAliases permission
|
||||
type: string
|
||||
type: str
|
||||
sample: "acme-production"
|
||||
arn:
|
||||
description: The arn identifying the user the credentials are associated with.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:sts::123456789012:federated-user/my-federated-user-name
|
||||
user_id:
|
||||
description: |
|
||||
The user id the access credentials are associated with. Note that this may not correspond to
|
||||
anything you can look up in the case of roles or federated identities.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: 123456789012:my-federated-user-name
|
||||
'''
|
||||
|
||||
|
|
|
@ -51,22 +51,22 @@ repository_metadata:
|
|||
account_id:
|
||||
description: "The ID of the AWS account associated with the repository."
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "268342293637"
|
||||
arn:
|
||||
description: "The Amazon Resource Name (ARN) of the repository."
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:codecommit:ap-northeast-1:268342293637:username"
|
||||
clone_url_http:
|
||||
description: "The URL to use for cloning the repository over HTTPS."
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "https://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/reponame"
|
||||
clone_url_ssh:
|
||||
description: "The URL to use for cloning the repository over SSH."
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "ssh://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/reponame"
|
||||
creation_date:
|
||||
description: "The date and time the repository was created, in timestamp format."
|
||||
|
@ -76,22 +76,22 @@ repository_metadata:
|
|||
last_modified_date:
|
||||
description: "The date and time the repository was last modified, in timestamp format."
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-10-16T13:21:41.261000+09:00"
|
||||
repository_description:
|
||||
description: "A comment or description about the repository."
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "test from ptux"
|
||||
repository_id:
|
||||
description: "The ID of the repository that was created or deleted"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "e62a5c54-i879-497b-b62f-9f99e4ebfk8e"
|
||||
repository_name:
|
||||
description: "The repository's name."
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "reponame"
|
||||
|
||||
response_metadata:
|
||||
|
@ -106,17 +106,17 @@ response_metadata:
|
|||
http_status_code:
|
||||
description: "http status code of http response"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "200"
|
||||
request_id:
|
||||
description: "http request id"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "fb49cfca-d0fa-11e8-85cb-b3cc4b5045ef"
|
||||
retry_attempts:
|
||||
description: "numbers of retry attempts"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "0"
|
||||
'''
|
||||
|
||||
|
|
|
@ -101,47 +101,47 @@ connection:
|
|||
aws_device:
|
||||
description: The endpoint which the physical connection terminates on.
|
||||
returned: when the requested state is no longer 'requested'
|
||||
type: string
|
||||
type: str
|
||||
sample: EqDC2-12pmo7hemtz1z
|
||||
bandwidth:
|
||||
description: The bandwidth of the connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 1Gbps
|
||||
connection_id:
|
||||
description: The ID of the connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: dxcon-ffy9ywed
|
||||
connection_name:
|
||||
description: The name of the connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ansible-test-connection
|
||||
connection_state:
|
||||
description: The state of the connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: pending
|
||||
loa_issue_time:
|
||||
description: The issue time of the connection's Letter of Authorization - Connecting Facility Assignment.
|
||||
returned: when the LOA-CFA has been issued (the connection state will no longer be 'requested')
|
||||
type: string
|
||||
type: str
|
||||
sample: '2018-03-20T17:36:26-04:00'
|
||||
location:
|
||||
description: The location of the connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: EqDC2
|
||||
owner_account:
|
||||
description: The account that owns the direct connect connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '123456789012'
|
||||
region:
|
||||
description: The region in which the connection exists.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: us-east-1
|
||||
"""
|
||||
|
||||
|
|
|
@ -72,12 +72,12 @@ RETURN = '''
|
|||
address_family:
|
||||
description: The address family for the BGP peer.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ipv4
|
||||
amazon_address:
|
||||
description: IP address assigned to the Amazon interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 169.254.255.1/30
|
||||
asn:
|
||||
description: The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
||||
|
@ -87,7 +87,7 @@ asn:
|
|||
auth_key:
|
||||
description: The authentication key for BGP configuration.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 0xZ59Y1JZ2oDOSh6YriIlyRE
|
||||
bgp_peers:
|
||||
description: A list of the BGP peers configured on this virtual interface.
|
||||
|
@ -97,12 +97,12 @@ bgp_peers:
|
|||
address_family:
|
||||
description: The address family for the BGP peer.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ipv4
|
||||
amazon_address:
|
||||
description: IP address assigned to the Amazon interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 169.254.255.1/30
|
||||
asn:
|
||||
description: The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
||||
|
@ -112,22 +112,22 @@ bgp_peers:
|
|||
auth_key:
|
||||
description: The authentication key for BGP configuration.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 0xZ59Y1JZ2oDOSh6YriIlyRE
|
||||
bgp_peer_state:
|
||||
description: The state of the BGP peer (verifying, pending, available)
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
bgp_status:
|
||||
description: The up/down state of the BGP peer.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: up
|
||||
customer_address:
|
||||
description: IP address assigned to the customer interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 169.254.255.2/30
|
||||
changed:
|
||||
description: Indicated if the virtual interface has been created/modified/deleted
|
||||
|
@ -139,26 +139,26 @@ connection_id:
|
|||
- The ID of the connection. This field is also used as the ID type for operations that
|
||||
use multiple connection types (LAG, interconnect, and/or connection).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: dxcon-fgb175av
|
||||
customer_address:
|
||||
description: IP address assigned to the customer interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 169.254.255.2/30
|
||||
customer_router_config:
|
||||
description: Information for generating the customer router configuration.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
location:
|
||||
description: Where the connection is located.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: EqDC2
|
||||
owner_account:
|
||||
description: The AWS account that will own the new virtual interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '123456789012'
|
||||
route_filter_prefixes:
|
||||
description: A list of routes to be advertised to the AWS network in this region (public virtual interface).
|
||||
|
@ -168,32 +168,32 @@ route_filter_prefixes:
|
|||
cidr:
|
||||
description: A routes to be advertised to the AWS network in this region.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 54.227.92.216/30
|
||||
virtual_gateway_id:
|
||||
description: The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.
|
||||
returned: when I(public=False)
|
||||
type: string
|
||||
type: str
|
||||
sample: vgw-f3ce259a
|
||||
virtual_interface_id:
|
||||
description: The ID of the virtual interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: dxvif-fh0w7cex
|
||||
virtual_interface_name:
|
||||
description: The name of the virtual interface assigned by the customer.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: test_virtual_interface
|
||||
virtual_interface_state:
|
||||
description: State of the virtual interface (confirming, verifying, pending, available, down, rejected).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
virtual_interface_type:
|
||||
description: The type of virtual interface (private, public).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: private
|
||||
vlan:
|
||||
description: The VLAN ID.
|
||||
|
|
|
@ -80,7 +80,7 @@ RETURN = '''
|
|||
arn:
|
||||
description: ARN of the EKS cluster
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:eks:us-west-2:111111111111:cluster/my-eks-cluster
|
||||
certificate_authority:
|
||||
description: Dictionary containing Certificate Authority Data for cluster
|
||||
|
@ -90,21 +90,21 @@ certificate_authority:
|
|||
data:
|
||||
description: Base-64 encoded Certificate Authority Data for cluster
|
||||
returned: when the cluster has been created and is active
|
||||
type: string
|
||||
type: str
|
||||
endpoint:
|
||||
description: Kubernetes API server endpoint
|
||||
returned: when the cluster has been created and is active
|
||||
type: string
|
||||
type: str
|
||||
sample: https://API_SERVER_ENDPOINT.yl4.us-west-2.eks.amazonaws.com
|
||||
created_at:
|
||||
description: Cluster creation date and time
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: '2018-06-06T11:56:56.242000+00:00'
|
||||
name:
|
||||
description: EKS cluster name
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: my-eks-cluster
|
||||
resources_vpc_config:
|
||||
description: VPC configuration of the cluster
|
||||
|
@ -129,24 +129,24 @@ resources_vpc_config:
|
|||
vpc_id:
|
||||
description: VPC id
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-a1b2c3d4
|
||||
role_arn:
|
||||
description: ARN of the IAM role used by the cluster
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:iam::111111111111:role/aws_eks_cluster_role
|
||||
status:
|
||||
description: status of the EKS cluster
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample:
|
||||
- CREATING
|
||||
- ACTIVE
|
||||
version:
|
||||
description: Kubernetes version of the cluster
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: '1.10'
|
||||
'''
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ app:
|
|||
output:
|
||||
description: message indicating what change will occur
|
||||
returned: in check mode
|
||||
type: string
|
||||
type: str
|
||||
sample: App is up-to-date
|
||||
'''
|
||||
|
||||
|
|
|
@ -90,22 +90,22 @@ connection_properties:
|
|||
connection_type:
|
||||
description: The type of the connection.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: JDBC
|
||||
creation_time:
|
||||
description: The time this connection definition was created.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-04-21T05:19:58.326000+00:00"
|
||||
description:
|
||||
description: Description of the job being defined.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: My first Glue job
|
||||
last_updated_time:
|
||||
description: The last time this connection definition was updated.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-04-21T05:19:58.326000+00:00"
|
||||
match_criteria:
|
||||
description: A list of criteria that can be used in selecting this connection.
|
||||
|
@ -115,7 +115,7 @@ match_criteria:
|
|||
name:
|
||||
description: The name of the connection definition.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: my-glue-connection
|
||||
physical_connection_requirements:
|
||||
description: A dict of physical connection requirements, such as VPC and SecurityGroup,
|
||||
|
|
|
@ -109,12 +109,12 @@ command:
|
|||
name:
|
||||
description: The name of the job command.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: glueetl
|
||||
script_location:
|
||||
description: Specifies the S3 path to a script that executes a job.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: mybucket/myscript.py
|
||||
connections:
|
||||
description: The connections used for this job.
|
||||
|
@ -124,7 +124,7 @@ connections:
|
|||
created_on:
|
||||
description: The time and date that this job definition was created.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-04-21T05:19:58.326000+00:00"
|
||||
default_arguments:
|
||||
description: The default arguments for this job, specified as name-value pairs.
|
||||
|
@ -134,12 +134,12 @@ default_arguments:
|
|||
description:
|
||||
description: Description of the job being defined.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: My first Glue job
|
||||
job_name:
|
||||
description: The name of the AWS Glue job.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-glue-job
|
||||
execution_property:
|
||||
description: An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
||||
|
@ -156,7 +156,7 @@ execution_property:
|
|||
last_modified_on:
|
||||
description: The last point in time when this job definition was modified.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-04-21T05:19:58.326000+00:00"
|
||||
max_retries:
|
||||
description: The maximum number of times to retry this job after a JobRun fails.
|
||||
|
@ -166,12 +166,12 @@ max_retries:
|
|||
name:
|
||||
description: The name assigned to this job definition.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: my-glue-job
|
||||
role:
|
||||
description: The name or ARN of the IAM role associated with this job.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: my-iam-role
|
||||
timeout:
|
||||
description: The job timeout in minutes.
|
||||
|
|
|
@ -64,23 +64,23 @@ RETURN = '''
|
|||
arn:
|
||||
description: The ARN that specifies the Amazon Inspector assessment target.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:inspector:eu-west-1:123456789012:target/0-O4LnL7n1"
|
||||
created_at:
|
||||
description: The time at which the assessment target was created.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-01-29T13:48:51.958000+00:00"
|
||||
name:
|
||||
description: The name of the Amazon Inspector assessment target.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "my_target"
|
||||
resource_group_arn:
|
||||
description: The ARN that specifies the resource group that is associated
|
||||
with the assessment target.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:inspector:eu-west-1:123456789012:resourcegroup/0-qY4gDel8"
|
||||
tags:
|
||||
description: The tags of the resource group that is associated with the
|
||||
|
@ -91,7 +91,7 @@ tags:
|
|||
updated_at:
|
||||
description: The time at which the assessment target was last updated.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "2018-01-29T13:48:51.958000+00:00"
|
||||
'''
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ changes_needed:
|
|||
sample: { "role": "add", "role grant": "add" }
|
||||
had_invalid_entries:
|
||||
description: there are invalid (non-ARN) entries in the KMS entry. These don't count as a change, but will be removed if any changes are being made.
|
||||
type: boolean
|
||||
type: bool
|
||||
returned: always
|
||||
'''
|
||||
|
||||
|
|
|
@ -270,12 +270,12 @@ RETURN = '''
|
|||
msg:
|
||||
description: msg indicating the status of the operation
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: PUT operation complete
|
||||
url:
|
||||
description: url of the object
|
||||
returned: (for put and geturl operations)
|
||||
type: string
|
||||
type: str
|
||||
sample: https://my-bucket.s3.amazonaws.com/my-key.txt?AWSAccessKeyId=<access-key>&Expires=1506888865&Signature=<signature>
|
||||
expiry:
|
||||
description: number of seconds the presigned url is valid for
|
||||
|
@ -285,7 +285,7 @@ expiry:
|
|||
contents:
|
||||
description: contents of the object as string
|
||||
returned: (for getstr operation)
|
||||
type: string
|
||||
type: str
|
||||
sample: "Hello, world!"
|
||||
s3_keys:
|
||||
description: list of object keys
|
||||
|
|
|
@ -62,12 +62,12 @@ RETURN = '''
|
|||
changed:
|
||||
description: check to see if a change was made to the rules
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: true
|
||||
name:
|
||||
description: name of bucket
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 'bucket-name'
|
||||
rules:
|
||||
description: list of current rules
|
||||
|
|
|
@ -148,12 +148,12 @@ RETURN = '''
|
|||
identity:
|
||||
description: The identity being modified.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: example@example.com
|
||||
identity_arn:
|
||||
description: The arn of the identity being modified.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:ses:us-east-1:12345678:identity/example@example.com
|
||||
verification_attributes:
|
||||
description: The verification information for the identity.
|
||||
|
@ -166,11 +166,11 @@ verification_attributes:
|
|||
contains:
|
||||
verification_status:
|
||||
description: The verification status of the identity.
|
||||
type: string
|
||||
type: str
|
||||
sample: "Pending"
|
||||
verification_token:
|
||||
description: The verification token for a domain identity.
|
||||
type: string
|
||||
type: str
|
||||
notification_attributes:
|
||||
description: The notification setup for the identity.
|
||||
returned: success
|
||||
|
@ -189,17 +189,17 @@ notification_attributes:
|
|||
description:
|
||||
- The ARN of the topic bounce notifications are delivered to.
|
||||
- Omitted if bounce notifications are not delivered to a topic.
|
||||
type: string
|
||||
type: str
|
||||
complaint_topic:
|
||||
description:
|
||||
- The ARN of the topic complaint notifications are delivered to.
|
||||
- Omitted if complaint notifications are not delivered to a topic.
|
||||
type: string
|
||||
type: str
|
||||
delivery_topic:
|
||||
description:
|
||||
- The ARN of the topic delivery notifications are delivered to.
|
||||
- Omitted if delivery notifications are not delivered to a topic.
|
||||
type: string
|
||||
type: str
|
||||
forwarding_enabled:
|
||||
description: Whether or not feedback forwarding is enabled.
|
||||
type: bool
|
||||
|
|
|
@ -57,27 +57,27 @@ gateways:
|
|||
gateway_arn:
|
||||
description: "Storage Gateway ARN"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:storagegateway:eu-west-1:367709993819:gateway/sgw-9999F888"
|
||||
gateway_id:
|
||||
description: "Storage Gateway ID"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "sgw-9999F888"
|
||||
gateway_name:
|
||||
description: "Storage Gateway friendly name"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "my-sgw-01"
|
||||
gateway_operational_state:
|
||||
description: "Storage Gateway operational state"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "ACTIVE"
|
||||
gateway_type:
|
||||
description: "Storage Gateway type"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "FILE_S3"
|
||||
file_shares:
|
||||
description: "Storage gateway file shares"
|
||||
|
@ -87,17 +87,17 @@ gateways:
|
|||
file_share_arn:
|
||||
description: "File share ARN"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:storagegateway:eu-west-1:399805793479:share/share-AF999C88"
|
||||
file_share_id:
|
||||
description: "File share ID"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "share-AF999C88"
|
||||
file_share_status:
|
||||
description: "File share status"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "AVAILABLE"
|
||||
tapes:
|
||||
description: "Storage Gateway tapes"
|
||||
|
@ -107,22 +107,22 @@ gateways:
|
|||
tape_arn:
|
||||
description: "Tape ARN"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:storagegateway:eu-west-1:399805793479:tape/tape-AF999C88"
|
||||
tape_barcode:
|
||||
description: "Tape ARN"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "tape-AF999C88"
|
||||
tape_size_in_bytes:
|
||||
description: "Tape ARN"
|
||||
returned: always
|
||||
type: integer
|
||||
type: int
|
||||
sample: 555887569
|
||||
tape_status:
|
||||
description: "Tape ARN"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "AVAILABLE"
|
||||
local_disks:
|
||||
description: "Storage gateway local disks"
|
||||
|
@ -132,32 +132,32 @@ gateways:
|
|||
disk_allocation_type:
|
||||
description: "Disk allocation type"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "CACHE STORAGE"
|
||||
disk_id:
|
||||
description: "Disk ID on the system"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "pci-0000:00:1f.0"
|
||||
disk_node:
|
||||
description: "Disk parent block device"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "/dev/sdb"
|
||||
disk_path:
|
||||
description: "Disk path used for the cache"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "/dev/nvme1n1"
|
||||
disk_size_in_bytes:
|
||||
description: "Disk size in bytes"
|
||||
returned: always
|
||||
type: integer
|
||||
type: int
|
||||
sample: 107374182400
|
||||
disk_status:
|
||||
description: "Disk status"
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "present"
|
||||
'''
|
||||
|
||||
|
|
|
@ -113,11 +113,11 @@ RETURN = '''
|
|||
put_parameter:
|
||||
description: Add one or more parameters to the system.
|
||||
returned: success
|
||||
type: dictionary
|
||||
type: dict
|
||||
delete_parameter:
|
||||
description: Delete a parameter from the system.
|
||||
returned: success
|
||||
type: dictionary
|
||||
type: dict
|
||||
'''
|
||||
|
||||
from ansible.module_utils.aws.core import AnsibleAWSModule
|
||||
|
|
|
@ -143,12 +143,12 @@ condition:
|
|||
condition_id:
|
||||
description: type-agnostic ID for the condition
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: dd74b1ff-8c06-4a4f-897a-6b23605de413
|
||||
byte_match_set_id:
|
||||
description: ID for byte match set
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: c4882c96-837b-44a2-a762-4ea87dbf812b
|
||||
byte_match_tuples:
|
||||
description: list of byte match tuples
|
||||
|
@ -162,23 +162,23 @@ condition:
|
|||
contains:
|
||||
data:
|
||||
description: Which specific header (if type is header)
|
||||
type: string
|
||||
type: str
|
||||
sample: content-type
|
||||
type:
|
||||
description: Type of field
|
||||
type: string
|
||||
type: str
|
||||
sample: HEADER
|
||||
positional_constraint:
|
||||
description: Position in the field to match
|
||||
type: string
|
||||
type: str
|
||||
sample: STARTS_WITH
|
||||
target_string:
|
||||
description: String to look for
|
||||
type: string
|
||||
type: str
|
||||
sample: Hello
|
||||
text_transformation:
|
||||
description: Transformation to apply to the field before matching
|
||||
type: string
|
||||
type: str
|
||||
sample: NONE
|
||||
geo_match_constraints:
|
||||
description: List of geographical constraints
|
||||
|
@ -187,16 +187,16 @@ condition:
|
|||
contains:
|
||||
type:
|
||||
description: Type of geo constraint
|
||||
type: string
|
||||
type: str
|
||||
sample: Country
|
||||
value:
|
||||
description: Value of geo constraint (typically a country code)
|
||||
type: string
|
||||
type: str
|
||||
sample: AT
|
||||
geo_match_set_id:
|
||||
description: ID of the geo match set
|
||||
returned: when type is geo and state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: dd74b1ff-8c06-4a4f-897a-6b23605de413
|
||||
ip_set_descriptors:
|
||||
description: list of IP address filters
|
||||
|
@ -206,27 +206,27 @@ condition:
|
|||
type:
|
||||
description: Type of IP address (IPV4 or IPV6)
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: IPV4
|
||||
value:
|
||||
description: IP address
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.0/8
|
||||
ip_set_id:
|
||||
description: ID of condition
|
||||
returned: when type is ip and state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: 78ad334a-3535-4036-85e6-8e11e745217b
|
||||
name:
|
||||
description: Name of condition
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: my_waf_condition
|
||||
regex_match_set_id:
|
||||
description: ID of the regex match set
|
||||
returned: when type is regex and state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: 5ea3f6a8-3cd3-488b-b637-17b79ce7089c
|
||||
regex_match_tuples:
|
||||
description: List of regex matches
|
||||
|
@ -240,20 +240,20 @@ condition:
|
|||
type:
|
||||
description: The field name
|
||||
returned: when type is regex and state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: QUERY_STRING
|
||||
regex_pattern_set_id:
|
||||
description: ID of the regex pattern
|
||||
type: string
|
||||
type: str
|
||||
sample: 6fdf7f2d-9091-445c-aef2-98f3c051ac9e
|
||||
text_transformation:
|
||||
description: transformation applied to the text before matching
|
||||
type: string
|
||||
type: str
|
||||
sample: NONE
|
||||
size_constraint_set_id:
|
||||
description: ID of the size constraint set
|
||||
returned: when type is size and state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: de84b4b3-578b-447e-a9a0-0db35c995656
|
||||
size_constraints:
|
||||
description: List of size constraints to apply
|
||||
|
@ -262,7 +262,7 @@ condition:
|
|||
contains:
|
||||
comparison_operator:
|
||||
description: Comparison operator to apply
|
||||
type: string
|
||||
type: str
|
||||
sample: GT
|
||||
field_to_match:
|
||||
description: Field on which the size constraint is applied
|
||||
|
@ -270,7 +270,7 @@ condition:
|
|||
contains:
|
||||
type:
|
||||
description: Field name
|
||||
type: string
|
||||
type: str
|
||||
sample: QUERY_STRING
|
||||
size:
|
||||
description: size to compare against the field
|
||||
|
@ -278,12 +278,12 @@ condition:
|
|||
sample: 300
|
||||
text_transformation:
|
||||
description: transformation applied to the text before matching
|
||||
type: string
|
||||
type: str
|
||||
sample: NONE
|
||||
sql_injection_match_set_id:
|
||||
description: ID of the SQL injection match set
|
||||
returned: when type is sql and state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: de84b4b3-578b-447e-a9a0-0db35c995656
|
||||
sql_injection_match_tuples:
|
||||
description: List of SQL injection match sets
|
||||
|
@ -296,16 +296,16 @@ condition:
|
|||
contains:
|
||||
type:
|
||||
description: Field name
|
||||
type: string
|
||||
type: str
|
||||
sample: QUERY_STRING
|
||||
text_transformation:
|
||||
description: transformation applied to the text before matching
|
||||
type: string
|
||||
type: str
|
||||
sample: URL_DECODE
|
||||
xss_match_set_id:
|
||||
description: ID of the XSS match set
|
||||
returned: when type is xss and state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: de84b4b3-578b-447e-a9a0-0db35c995656
|
||||
xss_match_tuples:
|
||||
description: List of XSS match sets
|
||||
|
@ -318,11 +318,11 @@ condition:
|
|||
contains:
|
||||
type:
|
||||
description: Field name
|
||||
type: string
|
||||
type: str
|
||||
sample: QUERY_STRING
|
||||
text_transformation:
|
||||
description: transformation applied to the text before matching
|
||||
type: string
|
||||
type: str
|
||||
sample: URL_DECODE
|
||||
'''
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ wafs:
|
|||
name:
|
||||
description: A friendly name or description of the WebACL
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: test_waf
|
||||
default_action:
|
||||
description: The action to perform if none of the Rules contained in the WebACL match.
|
||||
|
@ -54,7 +54,7 @@ wafs:
|
|||
metric_name:
|
||||
description: A friendly name or description for the metrics for this WebACL
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: test_waf_metric
|
||||
rules:
|
||||
description: An array that contains the action for each Rule in a WebACL , the priority of the Rule
|
||||
|
@ -64,17 +64,17 @@ wafs:
|
|||
action:
|
||||
description: The action to perform if the Rule matches
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: BLOCK
|
||||
metric_name:
|
||||
description: A friendly name or description for the metrics for this Rule
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ipblockrule
|
||||
name:
|
||||
description: A friendly name or description of the Rule
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ip_block_rule
|
||||
predicates:
|
||||
description: The Predicates list contains a Predicate for each
|
||||
|
|
|
@ -83,12 +83,12 @@ rule:
|
|||
metric_name:
|
||||
description: Metric name for the rule
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ansibletest1234rule
|
||||
name:
|
||||
description: Friendly name for the rule
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ansible-test-1234_rule
|
||||
predicates:
|
||||
description: List of conditions used in the rule
|
||||
|
@ -98,7 +98,7 @@ rule:
|
|||
data_id:
|
||||
description: ID of the condition
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 8251acdb-526c-42a8-92bc-d3d13e584166
|
||||
negated:
|
||||
description: Whether the sense of the condition is negated
|
||||
|
@ -108,12 +108,12 @@ rule:
|
|||
type:
|
||||
description: type of the condition
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ByteMatch
|
||||
rule_id:
|
||||
description: ID of the WAF rule
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 15de0cbc-9204-4e1f-90e6-69b2f415c261
|
||||
'''
|
||||
|
||||
|
|
|
@ -90,12 +90,12 @@ web_acl:
|
|||
metric_name:
|
||||
description: Metric name used as an identifier
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: mywebacl
|
||||
name:
|
||||
description: Friendly name of the Web ACL
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my web acl
|
||||
rules:
|
||||
description: List of rules
|
||||
|
@ -116,17 +116,17 @@ web_acl:
|
|||
rule_id:
|
||||
description: Rule ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: a6fc7ab5-287b-479f-8004-7fd0399daf75
|
||||
type:
|
||||
description: Type of rule (either REGULAR or RATE_BASED)
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: REGULAR
|
||||
web_acl_id:
|
||||
description: Unique identifier of Web ACL
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10fff965-4b6b-46e2-9d78-24f6d2e2d21c
|
||||
'''
|
||||
|
||||
|
|
|
@ -440,7 +440,7 @@ aliases:
|
|||
arn:
|
||||
description: Amazon Resource Name of the distribution
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:cloudfront::123456789012:distribution/E1234ABCDEFGHI
|
||||
cache_behaviors:
|
||||
description: Cloudfront cache behaviors
|
||||
|
@ -509,7 +509,7 @@ cache_behaviors:
|
|||
forward:
|
||||
description: Which cookies to forward to the origin for this cache behavior
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: none
|
||||
whitelisted_names:
|
||||
description: The names of the cookies to forward to the origin for this cache behavior
|
||||
|
@ -592,7 +592,7 @@ cache_behaviors:
|
|||
path_pattern:
|
||||
description: Path pattern that determines this cache behavior
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /path/to/files/*
|
||||
smooth_streaming:
|
||||
description: Whether smooth streaming is enabled
|
||||
|
@ -602,7 +602,7 @@ cache_behaviors:
|
|||
target_origin_id:
|
||||
description: Id of origin reference by this cache behavior
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: origin_abcd
|
||||
trusted_signers:
|
||||
description: Trusted signers
|
||||
|
@ -622,7 +622,7 @@ cache_behaviors:
|
|||
viewer_protocol_policy:
|
||||
description: Policy of how to handle http/https
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: redirect-to-https
|
||||
quantity:
|
||||
description: Count of cache behaviors
|
||||
|
@ -633,12 +633,12 @@ cache_behaviors:
|
|||
caller_reference:
|
||||
description: Idempotency reference given when creating cloudfront distribution
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '1484796016700'
|
||||
comment:
|
||||
description: Any comments you want to include about the distribution
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 'my first cloudfront distribution'
|
||||
custom_error_responses:
|
||||
description: Custom error responses to use for error handling
|
||||
|
@ -663,12 +663,12 @@ custom_error_responses:
|
|||
response_code:
|
||||
description: Response code to return to the requester
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '500'
|
||||
response_page_path:
|
||||
description: Path that contains the error page to display
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /errors/5xx.html
|
||||
quantity:
|
||||
description: Count of custom error response items
|
||||
|
@ -737,7 +737,7 @@ default_cache_behavior:
|
|||
forward:
|
||||
description: Which cookies to forward to the origin for this cache behavior
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: none
|
||||
whitelisted_names:
|
||||
description: The names of the cookies to forward to the origin for this cache behavior
|
||||
|
@ -820,7 +820,7 @@ default_cache_behavior:
|
|||
path_pattern:
|
||||
description: Path pattern that determines this cache behavior
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /path/to/files/*
|
||||
smooth_streaming:
|
||||
description: Whether smooth streaming is enabled
|
||||
|
@ -830,7 +830,7 @@ default_cache_behavior:
|
|||
target_origin_id:
|
||||
description: Id of origin reference by this cache behavior
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: origin_abcd
|
||||
trusted_signers:
|
||||
description: Trusted signers
|
||||
|
@ -850,13 +850,13 @@ default_cache_behavior:
|
|||
viewer_protocol_policy:
|
||||
description: Policy of how to handle http/https
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: redirect-to-https
|
||||
default_root_object:
|
||||
description: The object that you want CloudFront to request from your origin (for example, index.html)
|
||||
when a viewer requests the root URL for your distribution
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ''
|
||||
diff:
|
||||
description: Difference between previous configuration and new configuration
|
||||
|
@ -866,7 +866,7 @@ diff:
|
|||
domain_name:
|
||||
description: Domain name of cloudfront distribution
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: d1vz8pzgurxosf.cloudfront.net
|
||||
enabled:
|
||||
description: Whether the cloudfront distribution is enabled or not
|
||||
|
@ -876,12 +876,12 @@ enabled:
|
|||
http_version:
|
||||
description: Version of HTTP supported by the distribution
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: http2
|
||||
id:
|
||||
description: Cloudfront distribution ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: E123456ABCDEFG
|
||||
in_progress_invalidation_batches:
|
||||
description: The number of invalidation batches currently in progress
|
||||
|
@ -896,7 +896,7 @@ is_ipv6_enabled:
|
|||
last_modified_time:
|
||||
description: Date and time distribution was last modified
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-10-13T01:51:12.656000+00:00'
|
||||
logging:
|
||||
description: Logging information
|
||||
|
@ -906,7 +906,7 @@ logging:
|
|||
bucket:
|
||||
description: S3 bucket logging destination
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: logs-example-com.s3.amazonaws.com
|
||||
enabled:
|
||||
description: Whether logging is enabled
|
||||
|
@ -921,7 +921,7 @@ logging:
|
|||
prefix:
|
||||
description: Prefix added to logging object names
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: cloudfront/test
|
||||
origins:
|
||||
description: Origins in the cloudfront distribution
|
||||
|
@ -966,7 +966,7 @@ origins:
|
|||
origin_protocol_policy:
|
||||
description: Policy of which protocols are supported
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: https-only
|
||||
origin_read_timeout:
|
||||
description: Timeout for reads to the origin
|
||||
|
@ -994,17 +994,17 @@ origins:
|
|||
domain_name:
|
||||
description: Domain name of the origin
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: test-origin.example.com
|
||||
id:
|
||||
description: ID of the origin
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: test-origin.example.com
|
||||
origin_path:
|
||||
description: Subdirectory to prefix the request from the S3 or HTTP origin
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ''
|
||||
quantity:
|
||||
description: Count of origins
|
||||
|
@ -1014,7 +1014,7 @@ origins:
|
|||
price_class:
|
||||
description: Price class of cloudfront distribution
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: PriceClass_All
|
||||
restrictions:
|
||||
description: Restrictions in use by Cloudfront
|
||||
|
@ -1039,12 +1039,12 @@ restrictions:
|
|||
restriction_type:
|
||||
description: Type of restriction
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: blacklist
|
||||
status:
|
||||
description: Status of the cloudfront distribution
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: InProgress
|
||||
tags:
|
||||
description: Distribution tags
|
||||
|
@ -1060,32 +1060,32 @@ viewer_certificate:
|
|||
acm_certificate_arn:
|
||||
description: ARN of ACM certificate
|
||||
returned: when certificate comes from ACM
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:acm:us-east-1:123456789012:certificate/abcd1234-1234-1234-abcd-123456abcdef
|
||||
certificate:
|
||||
description: Reference to certificate
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:acm:us-east-1:123456789012:certificate/abcd1234-1234-1234-abcd-123456abcdef
|
||||
certificate_source:
|
||||
description: Where certificate comes from
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: acm
|
||||
minimum_protocol_version:
|
||||
description: Minimum SSL/TLS protocol supported by this distribution
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: TLSv1
|
||||
ssl_support_method:
|
||||
description: Support for pre-SNI browsers or not
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sni-only
|
||||
web_acl_id:
|
||||
description: ID of Web Access Control List (from WAF service)
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: abcd1234-1234-abcd-abcd-abcd12345678
|
||||
'''
|
||||
|
||||
|
|
|
@ -82,12 +82,12 @@ invalidation:
|
|||
create_time:
|
||||
description: The date and time the invalidation request was first made.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2018-02-01T15:50:41.159000+00:00'
|
||||
id:
|
||||
description: The identifier for the invalidation request.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: I2G9MOWJZFV612
|
||||
invalidation_batch:
|
||||
description: The current invalidation information for the batch request.
|
||||
|
@ -97,7 +97,7 @@ invalidation:
|
|||
caller_reference:
|
||||
description: The value used to uniquely identify an invalidation request.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: testing 123
|
||||
paths:
|
||||
description: A dict that contains information about the objects that you want to invalidate.
|
||||
|
@ -120,12 +120,12 @@ invalidation:
|
|||
status:
|
||||
description: The status of the invalidation request.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: Completed
|
||||
location:
|
||||
description: The fully qualified URI of the distribution and invalidation batch request.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: https://cloudfront.amazonaws.com/2017-03-25/distribution/E1ZID6KZJECZY7/invalidation/I2G9MOWJZFV622
|
||||
'''
|
||||
|
||||
|
|
|
@ -91,27 +91,27 @@ cloud_front_origin_access_identity:
|
|||
caller_reference:
|
||||
description: a caller reference for the oai
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
comment:
|
||||
description: a comment describing the oai
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
id:
|
||||
description: a unique identifier of the oai
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
s3_canonical_user_id:
|
||||
description: the cannonical user id of the user who created the oai
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
e_tag:
|
||||
description: The current version of the origin access identity created.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
location:
|
||||
description: The fully qualified URI of the new origin access identity just created.
|
||||
returned: when initially created
|
||||
type: string
|
||||
type: str
|
||||
|
||||
'''
|
||||
|
||||
|
|
|
@ -173,12 +173,12 @@ trail:
|
|||
trail_arn:
|
||||
description: Full ARN of the CloudTrail resource
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:cloudtrail:us-east-1:123456789012:trail/default
|
||||
name:
|
||||
description: Name of the CloudTrail resource
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: default
|
||||
is_logging:
|
||||
description: Whether logging is turned on or paused for the Trail
|
||||
|
@ -188,12 +188,12 @@ trail:
|
|||
s3_bucket_name:
|
||||
description: S3 bucket name where log files are delivered
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: myBucket
|
||||
s3_key_prefix:
|
||||
description: Key prefix in bucket where log files are delivered (if any)
|
||||
returned: success when present
|
||||
type: string
|
||||
type: str
|
||||
sample: myKeyPrefix
|
||||
log_file_validation_enabled:
|
||||
description: Whether log file validation is enabled on the trail
|
||||
|
@ -218,32 +218,32 @@ trail:
|
|||
home_region:
|
||||
description: The home region where the trail was originally created and must be edited.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: us-east-1
|
||||
sns_topic_name:
|
||||
description: The SNS topic name where log delivery notifications are sent.
|
||||
returned: success when present
|
||||
type: string
|
||||
type: str
|
||||
sample: myTopic
|
||||
sns_topic_arn:
|
||||
description: Full ARN of the SNS topic where log delivery notifications are sent.
|
||||
returned: success when present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:sns:us-east-1:123456789012:topic/myTopic
|
||||
cloud_watch_logs_log_group_arn:
|
||||
description: Full ARN of the CloudWatch Logs log group where events are delivered.
|
||||
returned: success when present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:logs:us-east-1:123456789012:log-group:CloudTrail/DefaultLogGroup:*
|
||||
cloud_watch_logs_role_arn:
|
||||
description: Full ARN of the IAM role that CloudTrail assumes to deliver events.
|
||||
returned: success when present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:iam::123456789012:role/CloudTrail_CloudWatchLogs_Role
|
||||
kms_key_id:
|
||||
description: Full ARN of the KMS Key used to encrypt log files.
|
||||
returned: success when present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:kms::123456789012:key/12345678-1234-1234-1234-123456789012
|
||||
tags:
|
||||
description: hash/dictionary of tags applied to this resource
|
||||
|
|
|
@ -90,31 +90,31 @@ log_groups:
|
|||
log_group_name:
|
||||
description: The name of the log group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
creation_time:
|
||||
description: The creation time of the log group.
|
||||
returned: always
|
||||
type: integer
|
||||
type: int
|
||||
retention_in_days:
|
||||
description: The number of days to retain the log events in the specified log group.
|
||||
returned: always
|
||||
type: integer
|
||||
type: int
|
||||
metric_filter_count:
|
||||
description: The number of metric filters.
|
||||
returned: always
|
||||
type: integer
|
||||
type: int
|
||||
arn:
|
||||
description: The Amazon Resource Name (ARN) of the log group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
stored_bytes:
|
||||
description: The number of bytes stored.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
kms_key_id:
|
||||
description: The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -43,31 +43,31 @@ log_groups:
|
|||
log_group_name:
|
||||
description: The name of the log group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
creation_time:
|
||||
description: The creation time of the log group.
|
||||
returned: always
|
||||
type: integer
|
||||
type: int
|
||||
retention_in_days:
|
||||
description: The number of days to retain the log events in the specified log group.
|
||||
returned: always
|
||||
type: integer
|
||||
type: int
|
||||
metric_filter_count:
|
||||
description: The number of metric filters.
|
||||
returned: always
|
||||
type: integer
|
||||
type: int
|
||||
arn:
|
||||
description: The Amazon Resource Name (ARN) of the log group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
stored_bytes:
|
||||
description: The number of bytes stored.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
kms_key_id:
|
||||
description: The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -128,7 +128,7 @@ RETURN = '''
|
|||
table_status:
|
||||
description: The current status of the table.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: ACTIVE
|
||||
'''
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ RETURN = '''
|
|||
architecture:
|
||||
description: architecture of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "x86_64"
|
||||
block_device_mapping:
|
||||
description: block device mapping associated with image
|
||||
|
@ -233,22 +233,22 @@ block_device_mapping:
|
|||
creationDate:
|
||||
description: creation date of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "2015-10-15T22:43:44.000Z"
|
||||
description:
|
||||
description: description of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "nat-server"
|
||||
hypervisor:
|
||||
description: type of hypervisor
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "xen"
|
||||
image_id:
|
||||
description: id of the image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "ami-1234abcd"
|
||||
is_public:
|
||||
description: whether image is public
|
||||
|
@ -264,37 +264,37 @@ launch_permission:
|
|||
location:
|
||||
description: location of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "315210894379/nat-server"
|
||||
name:
|
||||
description: ami name of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "nat-server"
|
||||
ownerId:
|
||||
description: owner of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "435210894375"
|
||||
platform:
|
||||
description: platform of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: null
|
||||
root_device_name:
|
||||
description: root device name of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "/dev/sda1"
|
||||
root_device_type:
|
||||
description: root device type of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "ebs"
|
||||
state:
|
||||
description: state of image
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "available"
|
||||
tags:
|
||||
description: a dictionary of tags assigned to image
|
||||
|
@ -307,7 +307,7 @@ tags:
|
|||
virtualization_type:
|
||||
description: image virtualization type
|
||||
returned: when AMI is created or already exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "hvm"
|
||||
snapshots_deleted:
|
||||
description: a list of snapshot ids deleted after deregistering image
|
||||
|
|
|
@ -137,7 +137,7 @@ RETURN = '''
|
|||
image_id:
|
||||
description: AMI ID of the copied AMI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ami-e689729e
|
||||
'''
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ images:
|
|||
architecture:
|
||||
description: The architecture of the image
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: x86_64
|
||||
block_device_mappings:
|
||||
description: Any block device mapping entries
|
||||
|
@ -89,7 +89,7 @@ images:
|
|||
device_name:
|
||||
description: The device name exposed to the instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /dev/sda1
|
||||
ebs:
|
||||
description: EBS volumes
|
||||
|
@ -98,12 +98,12 @@ images:
|
|||
creation_date:
|
||||
description: The date and time the image was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-10-16T19:22:13.000Z'
|
||||
description:
|
||||
description: The description of the AMI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ''
|
||||
ena_support:
|
||||
description: whether enhanced networking with ENA is enabled
|
||||
|
@ -113,22 +113,22 @@ images:
|
|||
hypervisor:
|
||||
description: The hypervisor type of the image
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: xen
|
||||
image_id:
|
||||
description: The ID of the AMI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ami-5b466623
|
||||
image_location:
|
||||
description: The location of the AMI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 408466080000/Webapp
|
||||
image_type:
|
||||
description: The type of image
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: machine
|
||||
launch_permissions:
|
||||
description: launch permissions of the ami
|
||||
|
@ -138,12 +138,12 @@ images:
|
|||
name:
|
||||
description: The name of the AMI that was provided during image creation
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: Webapp
|
||||
owner_id:
|
||||
description: The AWS account ID of the image owner
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '408466080000'
|
||||
public:
|
||||
description: whether the image has public launch permissions
|
||||
|
@ -153,22 +153,22 @@ images:
|
|||
root_device_name:
|
||||
description: The device name of the root device
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /dev/sda1
|
||||
root_device_type:
|
||||
description: The type of root device used by the AMI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ebs
|
||||
sriov_net_support:
|
||||
description: whether enhanced networking is enabled
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: simple
|
||||
state:
|
||||
description: The current state of the AMI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
tags:
|
||||
description: Any tags assigned to the image
|
||||
|
@ -177,7 +177,7 @@ images:
|
|||
virtualization_type:
|
||||
description: The type of virtualization of the AMI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: hvm
|
||||
'''
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ RETURN = '''
|
|||
auto_scaling_group_arn:
|
||||
description: The Amazon Resource Name of the ASG
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:autoscaling:us-west-2:1234567890:autoScalingGroup:10787c52-0bcb-427d-82ba-c8e4b008ed2e:autoScalingGroupName/public-webapp-production-1"
|
||||
auto_scaling_group_name:
|
||||
description: Name of autoscaling group
|
||||
|
@ -96,7 +96,7 @@ availability_zones:
|
|||
created_time:
|
||||
description: The date and time this ASG was created, in ISO 8601 format.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "2015-11-25T00:05:36.309Z"
|
||||
default_cooldown:
|
||||
description: The default cooldown time in seconds.
|
||||
|
@ -162,7 +162,7 @@ min_size:
|
|||
new_instances_protected_from_scale_in:
|
||||
description: Whether or not new instances a protected from automatic scaling in.
|
||||
returned: success
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: "false"
|
||||
placement_group:
|
||||
description: Placement group into which instances are launched, if any.
|
||||
|
|
|
@ -90,32 +90,32 @@ gateway.customer_gateways:
|
|||
description: The Border Gateway Autonomous System Number.
|
||||
returned: when exists and gateway is available.
|
||||
sample: 65123
|
||||
type: string
|
||||
type: str
|
||||
customer_gateway_id:
|
||||
description: gateway id assigned by amazon.
|
||||
returned: when exists and gateway is available.
|
||||
sample: cgw-cb6386a2
|
||||
type: string
|
||||
type: str
|
||||
ip_address:
|
||||
description: ip address of your gateway device.
|
||||
returned: when exists and gateway is available.
|
||||
sample: 1.2.3.4
|
||||
type: string
|
||||
type: str
|
||||
state:
|
||||
description: state of gateway.
|
||||
returned: when gateway exists and is available.
|
||||
state: available
|
||||
type: string
|
||||
type: str
|
||||
tags:
|
||||
description: any tags on the gateway.
|
||||
returned: when gateway exists and is available, and when tags exist.
|
||||
state: available
|
||||
type: string
|
||||
type: str
|
||||
type:
|
||||
description: encryption type.
|
||||
returned: when gateway exists and is available.
|
||||
sample: ipsec.1
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -155,12 +155,12 @@ RETURN = '''
|
|||
allocation_id:
|
||||
description: allocation_id of the elastic ip
|
||||
returned: on success
|
||||
type: string
|
||||
type: str
|
||||
sample: eipalloc-51aa3a6c
|
||||
public_ip:
|
||||
description: an elastic ip address
|
||||
returned: on success
|
||||
type: string
|
||||
type: str
|
||||
sample: 52.88.159.209
|
||||
'''
|
||||
|
||||
|
|
|
@ -205,7 +205,7 @@ interface:
|
|||
contains:
|
||||
description:
|
||||
description: interface description
|
||||
type: string
|
||||
type: str
|
||||
sample: Firewall network interface
|
||||
groups:
|
||||
description: list of security groups
|
||||
|
@ -213,19 +213,19 @@ interface:
|
|||
sample: [ { "sg-f8a8a9da": "default" } ]
|
||||
id:
|
||||
description: network interface id
|
||||
type: string
|
||||
type: str
|
||||
sample: "eni-1d889198"
|
||||
mac_address:
|
||||
description: interface's physical address
|
||||
type: string
|
||||
type: str
|
||||
sample: "00:00:5E:00:53:23"
|
||||
owner_id:
|
||||
description: aws account id
|
||||
type: string
|
||||
type: str
|
||||
sample: 812381371
|
||||
private_ip_address:
|
||||
description: primary ip address of this interface
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.20.30.40
|
||||
private_ip_addresses:
|
||||
description: list of all private ip addresses associated to this interface
|
||||
|
@ -233,19 +233,19 @@ interface:
|
|||
sample: [ { "primary_address": true, "private_ip_address": "10.20.30.40" } ]
|
||||
source_dest_check:
|
||||
description: value of source/dest check flag
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: True
|
||||
status:
|
||||
description: network interface status
|
||||
type: string
|
||||
type: str
|
||||
sample: "pending"
|
||||
subnet_id:
|
||||
description: which vpc subnet the interface is bound
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-b0a0393c
|
||||
vpc_id:
|
||||
description: which vpc this network interface is bound
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-9a9a9da
|
||||
|
||||
'''
|
||||
|
|
|
@ -83,12 +83,12 @@ network_interfaces:
|
|||
availability_zone:
|
||||
description: Availability zone of ENI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "us-east-1b"
|
||||
description:
|
||||
description: Description text for ENI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "My favourite network interface"
|
||||
groups:
|
||||
description: List of attached security groups
|
||||
|
@ -103,12 +103,12 @@ network_interfaces:
|
|||
id:
|
||||
description: The id of the ENI (alias for network_interface_id)
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "eni-392fsdf"
|
||||
interface_type:
|
||||
description: Type of the network interface
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "interface"
|
||||
ipv6_addresses:
|
||||
description: List of IPv6 addresses for this interface
|
||||
|
@ -118,27 +118,27 @@ network_interfaces:
|
|||
mac_address:
|
||||
description: MAC address of the network interface
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "0a:f8:10:2f:ab:a1"
|
||||
network_interface_id:
|
||||
description: The id of the ENI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "eni-392fsdf"
|
||||
owner_id:
|
||||
description: AWS account id of the owner of the ENI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "4415120123456"
|
||||
private_dns_name:
|
||||
description: Private DNS name for the ENI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "ip-172-16-1-180.ec2.internal"
|
||||
private_ip_address:
|
||||
description: Private IP address for the ENI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "172.16.1.180"
|
||||
private_ip_addresses:
|
||||
description: List of private IP addresses attached to the ENI
|
||||
|
@ -148,7 +148,7 @@ network_interfaces:
|
|||
requester_id:
|
||||
description: The ID of the entity that launched the ENI
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "AIDAIONYVJQNIAZFT3ABC"
|
||||
requester_managed:
|
||||
description: Indicates whether the network interface is being managed by an AWS service.
|
||||
|
@ -163,12 +163,12 @@ network_interfaces:
|
|||
status:
|
||||
description: Indicates if the network interface is attached to an instance or not
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "in-use"
|
||||
subnet_id:
|
||||
description: Subnet ID the ENI is in
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "subnet-7bbf01234"
|
||||
tag_set:
|
||||
description: Dictionary of tags added to the ENI
|
||||
|
@ -178,7 +178,7 @@ network_interfaces:
|
|||
vpc_id:
|
||||
description: ID of the VPC the network interface it part of
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "vpc-b3f1f123"
|
||||
'''
|
||||
|
||||
|
|
|
@ -237,17 +237,17 @@ RETURN = '''
|
|||
group_name:
|
||||
description: Security group name
|
||||
sample: My Security Group
|
||||
type: string
|
||||
type: str
|
||||
returned: on create/update
|
||||
group_id:
|
||||
description: Security group id
|
||||
sample: sg-abcd1234
|
||||
type: string
|
||||
type: str
|
||||
returned: on create/update
|
||||
description:
|
||||
description: Description of security group
|
||||
sample: My Security Group
|
||||
type: string
|
||||
type: str
|
||||
returned: on create/update
|
||||
tags:
|
||||
description: Tags associated with the security group
|
||||
|
@ -259,7 +259,7 @@ tags:
|
|||
vpc_id:
|
||||
description: ID of VPC to which the security group belongs
|
||||
sample: vpc-abcd1234
|
||||
type: string
|
||||
type: str
|
||||
returned: on create/update
|
||||
ip_permissions:
|
||||
description: Inbound rules associated with the security group.
|
||||
|
|
|
@ -312,7 +312,7 @@ instances:
|
|||
architecture:
|
||||
description: The architecture of the image
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: x86_64
|
||||
block_device_mappings:
|
||||
description: Any block device mapping entries for the instance.
|
||||
|
@ -322,7 +322,7 @@ instances:
|
|||
device_name:
|
||||
description: The device name exposed to the instance (for example, /dev/sdh or xvdh).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /dev/sdh
|
||||
ebs:
|
||||
description: Parameters used to automatically set up EBS volumes when the instance is launched.
|
||||
|
@ -332,7 +332,7 @@ instances:
|
|||
attach_time:
|
||||
description: The time stamp when the attachment initiated.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-03-23T22:51:24+00:00"
|
||||
delete_on_termination:
|
||||
description: Indicates whether the volume is deleted on instance termination.
|
||||
|
@ -342,17 +342,17 @@ instances:
|
|||
status:
|
||||
description: The attachment state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: attached
|
||||
volume_id:
|
||||
description: The ID of the EBS volume
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vol-12345678
|
||||
client_token:
|
||||
description: The idempotency token you provided when you launched the instance, if applicable.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: mytoken
|
||||
ebs_optimized:
|
||||
description: Indicates whether the instance is optimized for EBS I/O.
|
||||
|
@ -362,7 +362,7 @@ instances:
|
|||
hypervisor:
|
||||
description: The hypervisor type of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: xen
|
||||
iam_instance_profile:
|
||||
description: The IAM instance profile associated with the instance, if applicable.
|
||||
|
@ -372,37 +372,37 @@ instances:
|
|||
arn:
|
||||
description: The Amazon Resource Name (ARN) of the instance profile.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:iam::000012345678:instance-profile/myprofile"
|
||||
id:
|
||||
description: The ID of the instance profile
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: JFJ397FDG400FG9FD1N
|
||||
image_id:
|
||||
description: The ID of the AMI used to launch the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ami-0011223344
|
||||
instance_id:
|
||||
description: The ID of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: i-012345678
|
||||
instance_type:
|
||||
description: The instance type size of the running instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: t2.micro
|
||||
key_name:
|
||||
description: The name of the key pair, if this instance was launched with an associated key pair.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-key
|
||||
launch_time:
|
||||
description: The time the instance was launched.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-03-23T22:51:24+00:00"
|
||||
monitoring:
|
||||
description: The monitoring for the instance.
|
||||
|
@ -412,7 +412,7 @@ instances:
|
|||
state:
|
||||
description: Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: disabled
|
||||
network_interfaces:
|
||||
description: One or more network interfaces for the instance.
|
||||
|
@ -427,17 +427,17 @@ instances:
|
|||
ip_owner_id:
|
||||
description: The ID of the owner of the Elastic IP address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: amazon
|
||||
public_dns_name:
|
||||
description: The public DNS name.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
public_ip:
|
||||
description: The public IP address or Elastic IP address bound to the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 1.2.3.4
|
||||
attachment:
|
||||
description: The network interface attachment.
|
||||
|
@ -447,12 +447,12 @@ instances:
|
|||
attach_time:
|
||||
description: The time stamp when the attachment initiated.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-03-23T22:51:24+00:00"
|
||||
attachment_id:
|
||||
description: The ID of the network interface attachment.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: eni-attach-3aff3f
|
||||
delete_on_termination:
|
||||
description: Indicates whether the network interface is deleted when the instance is terminated.
|
||||
|
@ -467,12 +467,12 @@ instances:
|
|||
status:
|
||||
description: The attachment state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: attached
|
||||
description:
|
||||
description: The description.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: My interface
|
||||
groups:
|
||||
description: One or more security groups.
|
||||
|
@ -482,12 +482,12 @@ instances:
|
|||
- group_id:
|
||||
description: The ID of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sg-abcdef12
|
||||
group_name:
|
||||
description: The name of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: mygroup
|
||||
ipv6_addresses:
|
||||
description: One or more IPv6 addresses associated with the network interface.
|
||||
|
@ -497,27 +497,27 @@ instances:
|
|||
- ipv6_address:
|
||||
description: The IPv6 address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2001:0db8:85a3:0000:0000:8a2e:0370:7334"
|
||||
mac_address:
|
||||
description: The MAC address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "00:11:22:33:44:55"
|
||||
network_interface_id:
|
||||
description: The ID of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: eni-01234567
|
||||
owner_id:
|
||||
description: The AWS account ID of the owner of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 01234567890
|
||||
private_ip_address:
|
||||
description: The IPv4 address of the network interface within the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
private_ip_addresses:
|
||||
description: The private IPv4 addresses associated with the network interface.
|
||||
|
@ -532,17 +532,17 @@ instances:
|
|||
ip_owner_id:
|
||||
description: The ID of the owner of the Elastic IP address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: amazon
|
||||
public_dns_name:
|
||||
description: The public DNS name.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
public_ip:
|
||||
description: The public IP address or Elastic IP address bound to the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 1.2.3.4
|
||||
primary:
|
||||
description: Indicates whether this IPv4 address is the primary private IP address of the network interface.
|
||||
|
@ -552,7 +552,7 @@ instances:
|
|||
private_ip_address:
|
||||
description: The private IPv4 address of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
source_dest_check:
|
||||
description: Indicates whether source/destination checking is enabled.
|
||||
|
@ -562,17 +562,17 @@ instances:
|
|||
status:
|
||||
description: The status of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in-use
|
||||
subnet_id:
|
||||
description: The ID of the subnet for the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-0123456
|
||||
vpc_id:
|
||||
description: The ID of the VPC for the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-0123456
|
||||
placement:
|
||||
description: The location where the instance launched, if applicable.
|
||||
|
@ -582,27 +582,27 @@ instances:
|
|||
availability_zone:
|
||||
description: The Availability Zone of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ap-southeast-2a
|
||||
group_name:
|
||||
description: The name of the placement group the instance is in (for cluster compute instances).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
tenancy:
|
||||
description: The tenancy of the instance (if the instance is running in a VPC).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default
|
||||
private_dns_name:
|
||||
description: The private DNS name.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ip-10-0-0-1.ap-southeast-2.compute.internal
|
||||
private_ip_address:
|
||||
description: The IPv4 address of the network interface within the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
product_codes:
|
||||
description: One or more product codes.
|
||||
|
@ -612,32 +612,32 @@ instances:
|
|||
- product_code_id:
|
||||
description: The product code.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: aw0evgkw8ef3n2498gndfgasdfsd5cce
|
||||
product_code_type:
|
||||
description: The type of product code.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: marketplace
|
||||
public_dns_name:
|
||||
description: The public DNS name assigned to the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample:
|
||||
public_ip_address:
|
||||
description: The public IPv4 address assigned to the instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 52.0.0.1
|
||||
root_device_name:
|
||||
description: The device name of the root device
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /dev/sda1
|
||||
root_device_type:
|
||||
description: The type of root device used by the AMI.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ebs
|
||||
security_groups:
|
||||
description: One or more security groups for the instance.
|
||||
|
@ -647,12 +647,12 @@ instances:
|
|||
- group_id:
|
||||
description: The ID of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sg-0123456
|
||||
- group_name:
|
||||
description: The name of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-security-group
|
||||
network.source_dest_check:
|
||||
description: Indicates whether source/destination checking is enabled.
|
||||
|
@ -672,17 +672,17 @@ instances:
|
|||
name:
|
||||
description: The name of the state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: running
|
||||
state_transition_reason:
|
||||
description: The reason for the most recent state transition.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample:
|
||||
subnet_id:
|
||||
description: The ID of the subnet in which the instance is running.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-00abcdef
|
||||
tags:
|
||||
description: Any tags assigned to the instance.
|
||||
|
@ -692,7 +692,7 @@ instances:
|
|||
virtualization_type:
|
||||
description: The type of virtualization of the AMI.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: hvm
|
||||
vpc_id:
|
||||
description: The ID of the VPC the instance is in.
|
||||
|
|
|
@ -82,7 +82,7 @@ instances:
|
|||
architecture:
|
||||
description: The architecture of the image
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: x86_64
|
||||
block_device_mappings:
|
||||
description: Any block device mapping entries for the instance.
|
||||
|
@ -92,7 +92,7 @@ instances:
|
|||
device_name:
|
||||
description: The device name exposed to the instance (for example, /dev/sdh or xvdh).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /dev/sdh
|
||||
ebs:
|
||||
description: Parameters used to automatically set up EBS volumes when the instance is launched.
|
||||
|
@ -102,7 +102,7 @@ instances:
|
|||
attach_time:
|
||||
description: The time stamp when the attachment initiated.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-03-23T22:51:24+00:00"
|
||||
delete_on_termination:
|
||||
description: Indicates whether the volume is deleted on instance termination.
|
||||
|
@ -112,12 +112,12 @@ instances:
|
|||
status:
|
||||
description: The attachment state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: attached
|
||||
volume_id:
|
||||
description: The ID of the EBS volume
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vol-12345678
|
||||
cpu_options:
|
||||
description: The CPU options set for the instance.
|
||||
|
@ -137,7 +137,7 @@ instances:
|
|||
client_token:
|
||||
description: The idempotency token you provided when you launched the instance, if applicable.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: mytoken
|
||||
ebs_optimized:
|
||||
description: Indicates whether the instance is optimized for EBS I/O.
|
||||
|
@ -147,7 +147,7 @@ instances:
|
|||
hypervisor:
|
||||
description: The hypervisor type of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: xen
|
||||
iam_instance_profile:
|
||||
description: The IAM instance profile associated with the instance, if applicable.
|
||||
|
@ -157,37 +157,37 @@ instances:
|
|||
arn:
|
||||
description: The Amazon Resource Name (ARN) of the instance profile.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:iam::000012345678:instance-profile/myprofile"
|
||||
id:
|
||||
description: The ID of the instance profile
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: JFJ397FDG400FG9FD1N
|
||||
image_id:
|
||||
description: The ID of the AMI used to launch the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ami-0011223344
|
||||
instance_id:
|
||||
description: The ID of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: i-012345678
|
||||
instance_type:
|
||||
description: The instance type size of the running instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: t2.micro
|
||||
key_name:
|
||||
description: The name of the key pair, if this instance was launched with an associated key pair.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-key
|
||||
launch_time:
|
||||
description: The time the instance was launched.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-03-23T22:51:24+00:00"
|
||||
monitoring:
|
||||
description: The monitoring for the instance.
|
||||
|
@ -197,7 +197,7 @@ instances:
|
|||
state:
|
||||
description: Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: disabled
|
||||
network_interfaces:
|
||||
description: One or more network interfaces for the instance.
|
||||
|
@ -212,17 +212,17 @@ instances:
|
|||
ip_owner_id:
|
||||
description: The ID of the owner of the Elastic IP address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: amazon
|
||||
public_dns_name:
|
||||
description: The public DNS name.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
public_ip:
|
||||
description: The public IP address or Elastic IP address bound to the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 1.2.3.4
|
||||
attachment:
|
||||
description: The network interface attachment.
|
||||
|
@ -232,12 +232,12 @@ instances:
|
|||
attach_time:
|
||||
description: The time stamp when the attachment initiated.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-03-23T22:51:24+00:00"
|
||||
attachment_id:
|
||||
description: The ID of the network interface attachment.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: eni-attach-3aff3f
|
||||
delete_on_termination:
|
||||
description: Indicates whether the network interface is deleted when the instance is terminated.
|
||||
|
@ -252,12 +252,12 @@ instances:
|
|||
status:
|
||||
description: The attachment state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: attached
|
||||
description:
|
||||
description: The description.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: My interface
|
||||
groups:
|
||||
description: One or more security groups.
|
||||
|
@ -267,12 +267,12 @@ instances:
|
|||
- group_id:
|
||||
description: The ID of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sg-abcdef12
|
||||
group_name:
|
||||
description: The name of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: mygroup
|
||||
ipv6_addresses:
|
||||
description: One or more IPv6 addresses associated with the network interface.
|
||||
|
@ -282,27 +282,27 @@ instances:
|
|||
- ipv6_address:
|
||||
description: The IPv6 address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2001:0db8:85a3:0000:0000:8a2e:0370:7334"
|
||||
mac_address:
|
||||
description: The MAC address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "00:11:22:33:44:55"
|
||||
network_interface_id:
|
||||
description: The ID of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: eni-01234567
|
||||
owner_id:
|
||||
description: The AWS account ID of the owner of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 01234567890
|
||||
private_ip_address:
|
||||
description: The IPv4 address of the network interface within the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
private_ip_addresses:
|
||||
description: The private IPv4 addresses associated with the network interface.
|
||||
|
@ -317,17 +317,17 @@ instances:
|
|||
ip_owner_id:
|
||||
description: The ID of the owner of the Elastic IP address.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: amazon
|
||||
public_dns_name:
|
||||
description: The public DNS name.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
public_ip:
|
||||
description: The public IP address or Elastic IP address bound to the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 1.2.3.4
|
||||
primary:
|
||||
description: Indicates whether this IPv4 address is the primary private IP address of the network interface.
|
||||
|
@ -337,7 +337,7 @@ instances:
|
|||
private_ip_address:
|
||||
description: The private IPv4 address of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
source_dest_check:
|
||||
description: Indicates whether source/destination checking is enabled.
|
||||
|
@ -347,17 +347,17 @@ instances:
|
|||
status:
|
||||
description: The status of the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in-use
|
||||
subnet_id:
|
||||
description: The ID of the subnet for the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-0123456
|
||||
vpc_id:
|
||||
description: The ID of the VPC for the network interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-0123456
|
||||
placement:
|
||||
description: The location where the instance launched, if applicable.
|
||||
|
@ -367,27 +367,27 @@ instances:
|
|||
availability_zone:
|
||||
description: The Availability Zone of the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ap-southeast-2a
|
||||
group_name:
|
||||
description: The name of the placement group the instance is in (for cluster compute instances).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
tenancy:
|
||||
description: The tenancy of the instance (if the instance is running in a VPC).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default
|
||||
private_dns_name:
|
||||
description: The private DNS name.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ip-10-0-0-1.ap-southeast-2.compute.internal
|
||||
private_ip_address:
|
||||
description: The IPv4 address of the network interface within the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.1
|
||||
product_codes:
|
||||
description: One or more product codes.
|
||||
|
@ -397,32 +397,32 @@ instances:
|
|||
- product_code_id:
|
||||
description: The product code.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: aw0evgkw8ef3n2498gndfgasdfsd5cce
|
||||
product_code_type:
|
||||
description: The type of product code.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: marketplace
|
||||
public_dns_name:
|
||||
description: The public DNS name assigned to the instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample:
|
||||
public_ip_address:
|
||||
description: The public IPv4 address assigned to the instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 52.0.0.1
|
||||
root_device_name:
|
||||
description: The device name of the root device
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /dev/sda1
|
||||
root_device_type:
|
||||
description: The type of root device used by the AMI.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ebs
|
||||
security_groups:
|
||||
description: One or more security groups for the instance.
|
||||
|
@ -432,12 +432,12 @@ instances:
|
|||
- group_id:
|
||||
description: The ID of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sg-0123456
|
||||
- group_name:
|
||||
description: The name of the security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-security-group
|
||||
source_dest_check:
|
||||
description: Indicates whether source/destination checking is enabled.
|
||||
|
@ -457,17 +457,17 @@ instances:
|
|||
name:
|
||||
description: The name of the state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: running
|
||||
state_transition_reason:
|
||||
description: The reason for the most recent state transition.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample:
|
||||
subnet_id:
|
||||
description: The ID of the subnet in which the instance is running.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-00abcdef
|
||||
tags:
|
||||
description: Any tags assigned to the instance.
|
||||
|
@ -477,7 +477,7 @@ instances:
|
|||
virtualization_type:
|
||||
description: The type of virtualization of the AMI.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: hvm
|
||||
vpc_id:
|
||||
description: The ID of the VPC the instance is in.
|
||||
|
|
|
@ -104,7 +104,7 @@ changed:
|
|||
msg:
|
||||
description: short message describing the action taken
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: key pair created
|
||||
key:
|
||||
description: details of the keypair (this is set to null when state is absent)
|
||||
|
@ -114,17 +114,17 @@ key:
|
|||
fingerprint:
|
||||
description: fingerprint of the key
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: 'b0:22:49:61:d9:44:9d:0c:7e:ac:8a:32:93:21:6c:e8:fb:59:62:43'
|
||||
name:
|
||||
description: name of the keypair
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: my_keypair
|
||||
private_key:
|
||||
description: private key of a newly created keypair
|
||||
returned: when a new keypair is created by AWS (key_material is not provided)
|
||||
type: string
|
||||
type: str
|
||||
sample: '-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEowIBAAKC...
|
||||
-----END RSA PRIVATE KEY-----'
|
||||
|
|
|
@ -188,7 +188,7 @@ RETURN = '''
|
|||
arn:
|
||||
description: The Amazon Resource Name of the launch configuration.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:autoscaling:us-east-1:148830907657:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name
|
||||
changed:
|
||||
description: Whether the state of the launch configuration has changed.
|
||||
|
@ -198,22 +198,22 @@ changed:
|
|||
created_time:
|
||||
description: The creation date and time for the launch configuration.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-11-03 23:46:44.841000'
|
||||
image_id:
|
||||
description: The ID of the Amazon Machine Image used by the launch configuration.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: ami-9be6f38c
|
||||
instance_type:
|
||||
description: The instance type for the instances.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: t1.micro
|
||||
name:
|
||||
description: The name of the launch configuration.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: launch_config_name
|
||||
result:
|
||||
description: The specification details for the launch configuration.
|
||||
|
@ -223,7 +223,7 @@ result:
|
|||
PlacementTenancy:
|
||||
description: The tenancy of the instances, either default or dedicated.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: default
|
||||
associate_public_ip_address:
|
||||
description: (EC2-VPC) Indicates whether to assign a public IP address to each instance.
|
||||
|
@ -238,7 +238,7 @@ result:
|
|||
device_name:
|
||||
description: The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: /dev/sda1
|
||||
ebs:
|
||||
description: The information about the Amazon EBS volume.
|
||||
|
@ -253,7 +253,7 @@ result:
|
|||
volume_size:
|
||||
description: The volume size, in GiB.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: '100'
|
||||
virtual_name:
|
||||
description: The name of the virtual device (for example, ephemeral0).
|
||||
|
@ -273,7 +273,7 @@ result:
|
|||
created_time:
|
||||
description: The creation date and time for the launch configuration.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-11-03 23:46:44.841000'
|
||||
delete_on_termination:
|
||||
description: Indicates whether the volume is deleted on instance termination.
|
||||
|
@ -288,7 +288,7 @@ result:
|
|||
image_id:
|
||||
description: The ID of the Amazon Machine Image used by the launch configuration.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: ami-9be6f38c
|
||||
instance_monitoring:
|
||||
description: Indicates whether instances in this group are launched with detailed (true) or basic (false) monitoring.
|
||||
|
@ -298,12 +298,12 @@ result:
|
|||
instance_profile_name:
|
||||
description: The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: null
|
||||
instance_type:
|
||||
description: The instance type for the instances.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: t1.micro
|
||||
iops:
|
||||
description: The number of I/O operations per second (IOPS) to provision for the volume.
|
||||
|
@ -313,32 +313,32 @@ result:
|
|||
kernel_id:
|
||||
description: The ID of the kernel associated with the AMI.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: ''
|
||||
key_name:
|
||||
description: The name of the key pair.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: testkey
|
||||
launch_configuration_arn:
|
||||
description: The Amazon Resource Name (ARN) of the launch configuration.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:autoscaling:us-east-1:148830907657:launchConfiguration:888d9b58-d93a-40c4-90cf-759197a2621a:launchConfigurationName/launch_config_name
|
||||
member:
|
||||
description: ""
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: "\n "
|
||||
name:
|
||||
description: The name of the launch configuration.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: launch_config_name
|
||||
ramdisk_id:
|
||||
description: The ID of the RAM disk associated with the AMI.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: ''
|
||||
security_groups:
|
||||
description: The security groups to associate with the instances.
|
||||
|
@ -359,7 +359,7 @@ result:
|
|||
user_data:
|
||||
description: The user data available to the instances.
|
||||
returned: when I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: ''
|
||||
volume_type:
|
||||
description: The volume type (one of standard, io1, gp2).
|
||||
|
|
|
@ -79,12 +79,12 @@ block_device_mapping:
|
|||
}]"
|
||||
classic_link_vpc_security_groups:
|
||||
description: IDs of one or more security groups for the VPC specified in classic_link_vpc_id
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample:
|
||||
created_time:
|
||||
description: The creation date and time for the launch configuration
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "2016-05-27T13:47:44.216000+00:00"
|
||||
ebs_optimized:
|
||||
|
@ -94,7 +94,7 @@ ebs_optimized:
|
|||
sample: true,
|
||||
image_id:
|
||||
description: ID of the Amazon Machine Image (AMI)
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "ami-12345678"
|
||||
instance_monitoring:
|
||||
|
@ -106,32 +106,32 @@ instance_monitoring:
|
|||
}"
|
||||
instance_type:
|
||||
description: Instance type
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "t2.micro"
|
||||
kernel_id:
|
||||
description: ID of the kernel associated with the AMI
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample:
|
||||
key_name:
|
||||
description: Name of the key pair
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "user_app"
|
||||
launch_configuration_arn:
|
||||
description: Amazon Resource Name (ARN) of the launch configuration
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "arn:aws:autoscaling:us-east-1:666612345678:launchConfiguration:ba785e3a-dd42-6f02-4585-ea1a2b458b3d:launchConfigurationName/lc-app"
|
||||
launch_configuration_name:
|
||||
description: Name of the launch configuration
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "lc-app"
|
||||
ramdisk_id:
|
||||
description: ID of the RAM disk associated with the AMI
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample:
|
||||
security_groups:
|
||||
|
@ -143,7 +143,7 @@ security_groups:
|
|||
]"
|
||||
user_data:
|
||||
description: User data available
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample:
|
||||
'''
|
||||
|
|
|
@ -66,42 +66,42 @@ RETURN = '''
|
|||
image_id:
|
||||
description: AMI id
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: "ami-0d75df7e"
|
||||
user_data:
|
||||
description: User data used to start instance
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: "ZXhwb3J0IENMT1VE"
|
||||
name:
|
||||
description: Name of the Launch Configuration
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: "myapp-v123"
|
||||
arn:
|
||||
description: Name of the AMI
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:autoscaling:eu-west-1:12345:launchConfiguration:d82f050e-e315:launchConfigurationName/yourproject"
|
||||
instance_type:
|
||||
description: Type of ec2 instance
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: "t2.small"
|
||||
created_time:
|
||||
description: When it was created
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: "2016-06-29T14:59:22.222000+00:00"
|
||||
ebs_optimized:
|
||||
description: Launch Configuration EBS optimized property
|
||||
returned: when Launch Configuration was found
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: False
|
||||
instance_monitoring:
|
||||
description: Launch Configuration instance monitoring property
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: {"Enabled": false}
|
||||
classic_link_vpc_security_groups:
|
||||
description: Launch Configuration classic link vpc security groups property
|
||||
|
@ -116,7 +116,7 @@ block_device_mappings:
|
|||
keyname:
|
||||
description: Launch Configuration ssh key
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: mykey
|
||||
security_groups:
|
||||
description: Launch Configuration security groups
|
||||
|
@ -126,17 +126,17 @@ security_groups:
|
|||
kernel_id:
|
||||
description: Launch Configuration kernel to use
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: ''
|
||||
ram_disk_id:
|
||||
description: Launch Configuration ram disk property
|
||||
returned: when Launch Configuration was found
|
||||
type: string
|
||||
type: str
|
||||
sample: ''
|
||||
associate_public_address:
|
||||
description: Assign public address or not
|
||||
returned: when Launch Configuration was found
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: True
|
||||
...
|
||||
'''
|
||||
|
|
|
@ -45,60 +45,60 @@ ansible_facts:
|
|||
contains:
|
||||
ansible_ec2_ami_id:
|
||||
description: The AMI ID used to launch the instance.
|
||||
type: string
|
||||
type: str
|
||||
sample: "ami-XXXXXXXX"
|
||||
ansible_ec2_ami_launch_index:
|
||||
description:
|
||||
- If you started more than one instance at the same time, this value indicates the order in which the instance was launched.
|
||||
The value of the first instance launched is 0.
|
||||
type: string
|
||||
type: str
|
||||
sample: "0"
|
||||
ansible_ec2_ami_manifest_path:
|
||||
description:
|
||||
- The path to the AMI manifest file in Amazon S3.
|
||||
If you used an Amazon EBS-backed AMI to launch the instance, the returned result is unknown.
|
||||
type: string
|
||||
type: str
|
||||
sample: "(unknown)"
|
||||
ansible_ec2_ancestor_ami_ids:
|
||||
description:
|
||||
- The AMI IDs of any instances that were rebundled to create this AMI.
|
||||
This value will only exist if the AMI manifest file contained an ancestor-amis key.
|
||||
type: string
|
||||
type: str
|
||||
sample: "(unknown)"
|
||||
ansible_ec2_block_device_mapping_ami:
|
||||
description: The virtual device that contains the root/boot file system.
|
||||
type: string
|
||||
type: str
|
||||
sample: "/dev/sda1"
|
||||
ansible_ec2_block_device_mapping_ebsN:
|
||||
description:
|
||||
- The virtual devices associated with Amazon EBS volumes, if any are present.
|
||||
Amazon EBS volumes are only available in metadata if they were present at launch time or when the instance was last started.
|
||||
The N indicates the index of the Amazon EBS volume (such as ebs1 or ebs2).
|
||||
type: string
|
||||
type: str
|
||||
sample: "/dev/xvdb"
|
||||
ansible_ec2_block_device_mapping_ephemeralN:
|
||||
description: The virtual devices associated with ephemeral devices, if any are present. The N indicates the index of the ephemeral volume.
|
||||
type: string
|
||||
type: str
|
||||
sample: "/dev/xvdc"
|
||||
ansible_ec2_block_device_mapping_root:
|
||||
description:
|
||||
- The virtual devices or partitions associated with the root devices, or partitions on the virtual device,
|
||||
where the root (/ or C) file system is associated with the given instance.
|
||||
type: string
|
||||
type: str
|
||||
sample: "/dev/sda1"
|
||||
ansible_ec2_block_device_mapping_swap:
|
||||
description: The virtual devices associated with swap. Not always present.
|
||||
type: string
|
||||
type: str
|
||||
sample: "/dev/sda2"
|
||||
ansible_ec2_fws_instance_monitoring:
|
||||
description: "Value showing whether the customer has enabled detailed one-minute monitoring in CloudWatch."
|
||||
type: string
|
||||
type: str
|
||||
sample: "enabled"
|
||||
ansible_ec2_hostname:
|
||||
description:
|
||||
- The private IPv4 DNS hostname of the instance.
|
||||
In cases where multiple network interfaces are present, this refers to the eth0 device (the device for which the device number is 0).
|
||||
type: string
|
||||
type: str
|
||||
sample: "ip-10-0-0-1.ec2.internal"
|
||||
ansible_ec2_iam_info:
|
||||
description:
|
||||
|
@ -108,310 +108,310 @@ ansible_facts:
|
|||
sample: ""
|
||||
ansible_ec2_iam_info_instanceprofilearn:
|
||||
description: The IAM instance profile ARN.
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:iam::<account id>:instance-profile/<role name>"
|
||||
ansible_ec2_iam_info_instanceprofileid:
|
||||
description: IAM instance profile ID.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_iam_info_lastupdated:
|
||||
description: IAM info last updated time.
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-05-12T02:42:27Z"
|
||||
ansible_ec2_iam_instance_profile_role:
|
||||
description: IAM instance role.
|
||||
type: string
|
||||
type: str
|
||||
sample: "role_name"
|
||||
ansible_ec2_iam_security_credentials_<role name>:
|
||||
description:
|
||||
- If there is an IAM role associated with the instance, role-name is the name of the role,
|
||||
and role-name contains the temporary security credentials associated with the role. Otherwise, not present.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_iam_security_credentials_<role name>_accesskeyid:
|
||||
description: IAM role access key ID.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_iam_security_credentials_<role name>_code:
|
||||
description: IAM code.
|
||||
type: string
|
||||
type: str
|
||||
sample: "Success"
|
||||
ansible_ec2_iam_security_credentials_<role name>_expiration:
|
||||
description: IAM role credentials expiration time.
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-05-12T09:11:41Z"
|
||||
ansible_ec2_iam_security_credentials_<role name>_lastupdated:
|
||||
description: IAM role last updated time.
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-05-12T02:40:44Z"
|
||||
ansible_ec2_iam_security_credentials_<role name>_secretaccesskey:
|
||||
description: IAM role secret access key.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_iam_security_credentials_<role name>_token:
|
||||
description: IAM role token.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_iam_security_credentials_<role name>_type:
|
||||
description: IAM role type.
|
||||
type: string
|
||||
type: str
|
||||
sample: "AWS-HMAC"
|
||||
ansible_ec2_instance_action:
|
||||
description: Notifies the instance that it should reboot in preparation for bundling.
|
||||
type: string
|
||||
type: str
|
||||
sample: "none"
|
||||
ansible_ec2_instance_id:
|
||||
description: The ID of this instance.
|
||||
type: string
|
||||
type: str
|
||||
sample: "i-XXXXXXXXXXXXXXXXX"
|
||||
ansible_ec2_instance_identity_document:
|
||||
description: JSON containing instance attributes, such as instance-id, private IP address, etc.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_instance_identity_document_accountid:
|
||||
description: ""
|
||||
type: string
|
||||
type: str
|
||||
sample: "012345678901"
|
||||
ansible_ec2_instance_identity_document_architecture:
|
||||
description: Instance system architecture.
|
||||
type: string
|
||||
type: str
|
||||
sample: "x86_64"
|
||||
ansible_ec2_instance_identity_document_availabilityzone:
|
||||
description: The Availability Zone in which the instance launched.
|
||||
type: string
|
||||
type: str
|
||||
sample: "us-east-1a"
|
||||
ansible_ec2_instance_identity_document_billingproducts:
|
||||
description: Billing products for this instance.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_instance_identity_document_devpayproductcodes:
|
||||
description: Product codes for the launched AMI.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_instance_identity_document_imageid:
|
||||
description: The AMI ID used to launch the instance.
|
||||
type: string
|
||||
type: str
|
||||
sample: "ami-01234567"
|
||||
ansible_ec2_instance_identity_document_instanceid:
|
||||
description: The ID of this instance.
|
||||
type: string
|
||||
type: str
|
||||
sample: "i-0123456789abcdef0"
|
||||
ansible_ec2_instance_identity_document_instancetype:
|
||||
description: The type of instance.
|
||||
type: string
|
||||
type: str
|
||||
sample: "m4.large"
|
||||
ansible_ec2_instance_identity_document_kernelid:
|
||||
description: The ID of the kernel launched with this instance, if applicable.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_instance_identity_document_pendingtime:
|
||||
description: The instance pending time.
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-05-11T20:51:20Z"
|
||||
ansible_ec2_instance_identity_document_privateip:
|
||||
description:
|
||||
- The private IPv4 address of the instance.
|
||||
In cases where multiple network interfaces are present, this refers to the eth0 device (the device for which the device number is 0).
|
||||
type: string
|
||||
type: str
|
||||
sample: "10.0.0.1"
|
||||
ansible_ec2_instance_identity_document_ramdiskid:
|
||||
description: The ID of the RAM disk specified at launch time, if applicable.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_instance_identity_document_region:
|
||||
description: The Region in which the instance launched.
|
||||
type: string
|
||||
type: str
|
||||
sample: "us-east-1"
|
||||
ansible_ec2_instance_identity_document_version:
|
||||
description: Identity document version.
|
||||
type: string
|
||||
type: str
|
||||
sample: "2010-08-31"
|
||||
ansible_ec2_instance_identity_pkcs7:
|
||||
description: Used to verify the document's authenticity and content against the signature.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_instance_identity_rsa2048:
|
||||
description: Used to verify the document's authenticity and content against the signature.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_instance_identity_signature:
|
||||
description: Data that can be used by other parties to verify its origin and authenticity.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_instance_type:
|
||||
description: The type of instance.
|
||||
type: string
|
||||
type: str
|
||||
sample: "m4.large"
|
||||
ansible_ec2_local_hostname:
|
||||
description:
|
||||
- The private IPv4 DNS hostname of the instance.
|
||||
In cases where multiple network interfaces are present, this refers to the eth0 device (the device for which the device number is 0).
|
||||
type: string
|
||||
type: str
|
||||
sample: "ip-10-0-0-1.ec2.internal"
|
||||
ansible_ec2_local_ipv4:
|
||||
description:
|
||||
- The private IPv4 address of the instance.
|
||||
In cases where multiple network interfaces are present, this refers to the eth0 device (the device for which the device number is 0).
|
||||
type: string
|
||||
type: str
|
||||
sample: "10.0.0.1"
|
||||
ansible_ec2_mac:
|
||||
description:
|
||||
- The instance's media access control (MAC) address.
|
||||
In cases where multiple network interfaces are present, this refers to the eth0 device (the device for which the device number is 0).
|
||||
type: string
|
||||
type: str
|
||||
sample: "00:11:22:33:44:55"
|
||||
ansible_ec2_metrics_vhostmd:
|
||||
description: Metrics.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_device_number:
|
||||
description:
|
||||
- The unique device number associated with that interface. The device number corresponds to the device name;
|
||||
for example, a device-number of 2 is for the eth2 device.
|
||||
This category corresponds to the DeviceIndex and device-index fields that are used by the Amazon EC2 API and the EC2 commands for the AWS CLI.
|
||||
type: string
|
||||
type: str
|
||||
sample: "0"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_interface_id:
|
||||
description: The elastic network interface ID.
|
||||
type: string
|
||||
type: str
|
||||
sample: "eni-12345678"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_ipv4_associations_<ip address>:
|
||||
description: The private IPv4 addresses that are associated with each public-ip address and assigned to that interface.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_ipv6s:
|
||||
description: The IPv6 addresses associated with the interface. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_local_hostname:
|
||||
description: The interface's local hostname.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_local_ipv4s:
|
||||
description: The private IPv4 addresses associated with the interface.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_mac:
|
||||
description: The instance's MAC address.
|
||||
type: string
|
||||
type: str
|
||||
sample: "00:11:22:33:44:55"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_owner_id:
|
||||
description:
|
||||
- The ID of the owner of the network interface.
|
||||
In multiple-interface environments, an interface can be attached by a third party, such as Elastic Load Balancing.
|
||||
Traffic on an interface is always billed to the interface owner.
|
||||
type: string
|
||||
type: str
|
||||
sample: "01234567890"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_public_hostname:
|
||||
description:
|
||||
- The interface's public DNS (IPv4). If the instance is in a VPC,
|
||||
this category is only returned if the enableDnsHostnames attribute is set to true.
|
||||
type: string
|
||||
type: str
|
||||
sample: "ec2-1-2-3-4.compute-1.amazonaws.com"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_public_ipv4s:
|
||||
description: The Elastic IP addresses associated with the interface. There may be multiple IPv4 addresses on an instance.
|
||||
type: string
|
||||
type: str
|
||||
sample: "1.2.3.4"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_security_group_ids:
|
||||
description: The IDs of the security groups to which the network interface belongs. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: "sg-01234567,sg-01234568"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_security_groups:
|
||||
description: Security groups to which the network interface belongs. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: "secgroup1,secgroup2"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_subnet_id:
|
||||
description: The ID of the subnet in which the interface resides. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: "subnet-01234567"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_subnet_ipv4_cidr_block:
|
||||
description: The IPv4 CIDR block of the subnet in which the interface resides. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: "10.0.1.0/24"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_subnet_ipv6_cidr_blocks:
|
||||
description: The IPv6 CIDR block of the subnet in which the interface resides. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_vpc_id:
|
||||
description: The ID of the VPC in which the interface resides. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: "vpc-0123456"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_vpc_ipv4_cidr_block:
|
||||
description: The IPv4 CIDR block of the VPC in which the interface resides. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: "10.0.0.0/16"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_vpc_ipv4_cidr_blocks:
|
||||
description: The IPv4 CIDR block of the VPC in which the interface resides. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: "10.0.0.0/16"
|
||||
ansible_ec2_network_interfaces_macs_<mac address>_vpc_ipv6_cidr_blocks:
|
||||
description: The IPv6 CIDR block of the VPC in which the interface resides. Returned only for instances launched into a VPC.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_placement_availability_zone:
|
||||
description: The Availability Zone in which the instance launched.
|
||||
type: string
|
||||
type: str
|
||||
sample: "us-east-1a"
|
||||
ansible_ec2_placement_region:
|
||||
description: The Region in which the instance launched.
|
||||
type: string
|
||||
type: str
|
||||
sample: "us-east-1"
|
||||
ansible_ec2_product_codes:
|
||||
description: Product codes associated with the instance, if any.
|
||||
type: string
|
||||
type: str
|
||||
sample: "aw0evgkw8e5c1q413zgy5pjce"
|
||||
ansible_ec2_profile:
|
||||
description: EC2 instance hardware profile.
|
||||
type: string
|
||||
type: str
|
||||
sample: "default-hvm"
|
||||
ansible_ec2_public_hostname:
|
||||
description:
|
||||
- The instance's public DNS. If the instance is in a VPC, this category is only returned if the enableDnsHostnames attribute is set to true.
|
||||
type: string
|
||||
type: str
|
||||
sample: "ec2-1-2-3-4.compute-1.amazonaws.com"
|
||||
ansible_ec2_public_ipv4:
|
||||
description: The public IPv4 address. If an Elastic IP address is associated with the instance, the value returned is the Elastic IP address.
|
||||
type: string
|
||||
type: str
|
||||
sample: "1.2.3.4"
|
||||
ansible_ec2_public_key:
|
||||
description: Public key. Only available if supplied at instance launch time.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_ramdisk_id:
|
||||
description: The ID of the RAM disk specified at launch time, if applicable.
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ansible_ec2_reservation_id:
|
||||
description: The ID of the reservation.
|
||||
type: string
|
||||
type: str
|
||||
sample: "r-0123456789abcdef0"
|
||||
ansible_ec2_security_groups:
|
||||
description:
|
||||
- The names of the security groups applied to the instance. After launch, you can only change the security groups of instances running in a VPC.
|
||||
Such changes are reflected here and in network/interfaces/macs/mac/security-groups.
|
||||
type: string
|
||||
type: str
|
||||
sample: "securitygroup1,securitygroup2"
|
||||
ansible_ec2_services_domain:
|
||||
description: The domain for AWS resources for the region; for example, amazonaws.com for us-east-1.
|
||||
type: string
|
||||
type: str
|
||||
sample: "amazonaws.com"
|
||||
ansible_ec2_services_partition:
|
||||
description:
|
||||
- The partition that the resource is in. For standard AWS regions, the partition is aws.
|
||||
If you have resources in other partitions, the partition is aws-partitionname.
|
||||
For example, the partition for resources in the China (Beijing) region is aws-cn.
|
||||
type: string
|
||||
type: str
|
||||
sample: "aws"
|
||||
ansible_ec2_spot_termination_time:
|
||||
description:
|
||||
- The approximate time, in UTC, that the operating system for your Spot instance will receive the shutdown signal.
|
||||
This item is present and contains a time value only if the Spot instance has been marked for termination by Amazon EC2.
|
||||
The termination-time item is not set to a time if you terminated the Spot instance yourself.
|
||||
type: string
|
||||
type: str
|
||||
sample: "2015-01-05T18:02:00Z"
|
||||
ansible_ec2_user_data:
|
||||
description: The instance user data.
|
||||
type: string
|
||||
type: str
|
||||
sample: "#!/bin/bash"
|
||||
'''
|
||||
|
||||
|
|
|
@ -73,15 +73,15 @@ placement_group:
|
|||
contains:
|
||||
name:
|
||||
description: PG name
|
||||
type: string
|
||||
type: str
|
||||
sample: my-cluster
|
||||
state:
|
||||
description: PG state
|
||||
type: string
|
||||
type: str
|
||||
sample: "available"
|
||||
strategy:
|
||||
description: PG strategy
|
||||
type: string
|
||||
type: str
|
||||
sample: "cluster"
|
||||
|
||||
'''
|
||||
|
|
|
@ -55,15 +55,15 @@ placement_groups:
|
|||
contains:
|
||||
name:
|
||||
description: PG name
|
||||
type: string
|
||||
type: str
|
||||
sample: my-cluster
|
||||
state:
|
||||
description: PG state
|
||||
type: string
|
||||
type: str
|
||||
sample: "available"
|
||||
strategy:
|
||||
description: PG strategy
|
||||
type: string
|
||||
type: str
|
||||
sample: "cluster"
|
||||
|
||||
'''
|
||||
|
|
|
@ -102,7 +102,7 @@ RETURN = '''
|
|||
snapshot_id:
|
||||
description: snapshot id of the newly created snapshot
|
||||
returned: when snapshot copy is successful
|
||||
type: string
|
||||
type: str
|
||||
sample: "snap-e9095e8c"
|
||||
'''
|
||||
|
||||
|
|
|
@ -95,44 +95,44 @@ EXAMPLES = '''
|
|||
RETURN = '''
|
||||
snapshot_id:
|
||||
description: The ID of the snapshot. Each snapshot receives a unique identifier when it is created.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: snap-01234567
|
||||
volume_id:
|
||||
description: The ID of the volume that was used to create the snapshot.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: vol-01234567
|
||||
state:
|
||||
description: The snapshot state (completed, pending or error).
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: completed
|
||||
state_message:
|
||||
description: Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper
|
||||
AWS Key Management Service (AWS KMS) permissions are not obtained) this field displays error state details to help you diagnose why the
|
||||
error occurred.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample:
|
||||
start_time:
|
||||
description: The time stamp when the snapshot was initiated.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "2015-02-12T02:14:02+00:00"
|
||||
progress:
|
||||
description: The progress of the snapshot, as a percentage.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "100%"
|
||||
owner_id:
|
||||
description: The AWS account ID of the EBS snapshot owner.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "099720109477"
|
||||
description:
|
||||
description: The description for the snapshot.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "My important backup"
|
||||
volume_size:
|
||||
|
@ -142,7 +142,7 @@ volume_size:
|
|||
sample: 8
|
||||
owner_alias:
|
||||
description: The AWS account alias (for example, amazon, self) or AWS account ID that owns the snapshot.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "033440102211"
|
||||
tags:
|
||||
|
@ -152,19 +152,19 @@ tags:
|
|||
sample: "{ 'my_tag_key': 'my_tag_value' }"
|
||||
encrypted:
|
||||
description: Indicates whether the snapshot is encrypted.
|
||||
type: boolean
|
||||
type: bool
|
||||
returned: always
|
||||
sample: "True"
|
||||
kms_key_id:
|
||||
description: The full ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to \
|
||||
protect the volume encryption key for the parent volume.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "74c9742a-a1b2-45cb-b3fe-abcdef123456"
|
||||
data_encryption_key_id:
|
||||
description: The data encryption key identifier for the snapshot. This value is a unique identifier that \
|
||||
corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy.
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "arn:aws:kms:ap-southeast-2:012345678900:key/74c9742a-a1b2-45cb-b3fe-abcdef123456"
|
||||
|
||||
|
|
|
@ -183,22 +183,22 @@ RETURN = '''
|
|||
device:
|
||||
description: device name of attached volume
|
||||
returned: when success
|
||||
type: string
|
||||
type: str
|
||||
sample: "/def/sdf"
|
||||
volume_id:
|
||||
description: the id of volume
|
||||
returned: when success
|
||||
type: string
|
||||
type: str
|
||||
sample: "vol-35b333d9"
|
||||
volume_type:
|
||||
description: the volume type
|
||||
returned: when success
|
||||
type: string
|
||||
type: str
|
||||
sample: "standard"
|
||||
volume:
|
||||
description: a dictionary containing detailed attributes of the volume
|
||||
returned: when success
|
||||
type: string
|
||||
type: str
|
||||
sample: {
|
||||
"attachment_set": {
|
||||
"attach_time": "2015-10-23T00:22:29.000Z",
|
||||
|
|
|
@ -114,7 +114,7 @@ new_options:
|
|||
domain-name: "my.example.com"
|
||||
dhcp_options_id:
|
||||
description: The aws resource id of the primary DCHP options set created, found or removed
|
||||
type: string
|
||||
type: str
|
||||
returned: when available
|
||||
changed:
|
||||
description: Whether the dhcp options were changed
|
||||
|
|
|
@ -46,12 +46,12 @@ RETURN = '''
|
|||
gateway_id:
|
||||
description: The ID of the Egress Only Internet Gateway or Null.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: eigw-0e00cf111ba5bc11e
|
||||
vpc_id:
|
||||
description: The ID of the VPC to attach or detach gateway from.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-012345678
|
||||
'''
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@ RETURN = '''
|
|||
task:
|
||||
description: The result of the create, or delete action.
|
||||
returned: success
|
||||
type: dictionary
|
||||
type: dict
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -68,15 +68,15 @@ nacls:
|
|||
nacl_id:
|
||||
description: The ID of the Network Access Control List.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
vpc_id:
|
||||
description: The ID of the VPC that the NACL is attached to.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
is_default:
|
||||
description: True if the NACL is the default for its VPC.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
tags:
|
||||
description: A dict of tags associated with the NACL.
|
||||
returned: always
|
||||
|
|
|
@ -156,32 +156,32 @@ RETURN = '''
|
|||
create_time:
|
||||
description: The ISO 8601 date time format in UTC.
|
||||
returned: In all cases.
|
||||
type: string
|
||||
type: str
|
||||
sample: "2016-03-05T05:19:20.282000+00:00'"
|
||||
nat_gateway_id:
|
||||
description: id of the VPC NAT Gateway
|
||||
returned: In all cases.
|
||||
type: string
|
||||
type: str
|
||||
sample: "nat-0d1e3a878585988f8"
|
||||
subnet_id:
|
||||
description: id of the Subnet
|
||||
returned: In all cases.
|
||||
type: string
|
||||
type: str
|
||||
sample: "subnet-12345"
|
||||
state:
|
||||
description: The current state of the NAT Gateway.
|
||||
returned: In all cases.
|
||||
type: string
|
||||
type: str
|
||||
sample: "available"
|
||||
vpc_id:
|
||||
description: id of the VPC.
|
||||
returned: In all cases.
|
||||
type: string
|
||||
type: str
|
||||
sample: "vpc-12345"
|
||||
nat_gateway_addresses:
|
||||
description: List of dictionairies containing the public_ip, network_interface_id, private_ip, and allocation_id.
|
||||
returned: In all cases.
|
||||
type: string
|
||||
type: str
|
||||
sample: [
|
||||
{
|
||||
'public_ip': '52.52.52.52',
|
||||
|
|
|
@ -102,7 +102,7 @@ vpc:
|
|||
cidr_block:
|
||||
description: The CIDR of the VPC
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.0/16
|
||||
cidr_block_association_set:
|
||||
description: IPv4 CIDR blocks associated with the VPC
|
||||
|
@ -126,17 +126,17 @@ vpc:
|
|||
dhcp_options_id:
|
||||
description: the id of the DHCP options assocaited with this VPC
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: dopt-0fb8bd6b
|
||||
id:
|
||||
description: VPC resource id
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-c2e00da5
|
||||
instance_tenancy:
|
||||
description: indicates whether VPC uses default or dedicated tenancy
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default
|
||||
is_default:
|
||||
description: indicates whether this is the default VPC
|
||||
|
@ -146,7 +146,7 @@ vpc:
|
|||
state:
|
||||
description: state of the VPC
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
tags:
|
||||
description: tags attached to the VPC, includes name
|
||||
|
@ -156,7 +156,7 @@ vpc:
|
|||
Name:
|
||||
description: name tag for the VPC
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: pk_vpc4
|
||||
'''
|
||||
|
||||
|
|
|
@ -69,15 +69,15 @@ vpcs:
|
|||
id:
|
||||
description: The ID of the VPC (for backwards compatibility).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
vpc_id:
|
||||
description: The ID of the VPC .
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
state:
|
||||
description: The state of the VPC.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
tags:
|
||||
description: A dict of tags associated with the VPC.
|
||||
returned: always
|
||||
|
@ -85,31 +85,31 @@ vpcs:
|
|||
instance_tenancy:
|
||||
description: The instance tenancy setting for the VPC.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
is_default:
|
||||
description: True if this is the default VPC for account.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
cidr_block:
|
||||
description: The IPv4 CIDR block assigned to the VPC.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
classic_link_dns_supported:
|
||||
description: True/False depending on attribute setting for classic link DNS support.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
classic_link_enabled:
|
||||
description: True/False depending on if classic link support is enabled.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
enable_dns_hostnames:
|
||||
description: True/False depending on attribute setting for DNS hostnames support.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
enable_dns_support:
|
||||
description: True/False depending on attribute setting for DNS support.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
ipv6_cidr_block_association_set:
|
||||
description: An array of IPv6 cidr block association set information.
|
||||
returned: always
|
||||
|
@ -118,11 +118,11 @@ vpcs:
|
|||
association_id:
|
||||
description: The association ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
ipv6_cidr_block:
|
||||
description: The IPv6 CIDR block that is associated with the VPC.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
ipv6_cidr_block_state:
|
||||
description: A hash/dict that contains a single item. The state of the cidr block association.
|
||||
returned: always
|
||||
|
@ -131,7 +131,7 @@ vpcs:
|
|||
state:
|
||||
description: The CIDR block association state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -211,7 +211,7 @@ RETURN = '''
|
|||
task:
|
||||
description: The result of the create, accept, reject or delete action.
|
||||
returned: success
|
||||
type: dictionary
|
||||
type: dict
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -143,22 +143,22 @@ route_table:
|
|||
route_table_association_id:
|
||||
description: ID of association between route table and subnet
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: rtbassoc-ab47cfc3
|
||||
route_table_id:
|
||||
description: ID of the route table
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: rtb-bf779ed7
|
||||
subnet_id:
|
||||
description: ID of the subnet
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-82055af9
|
||||
id:
|
||||
description: ID of the route table (same as route_table_id for backwards compatibility)
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: rtb-bf779ed7
|
||||
propagating_vgws:
|
||||
description: List of Virtual Private Gateways propagating routes
|
||||
|
@ -168,7 +168,7 @@ route_table:
|
|||
route_table_id:
|
||||
description: ID of the route table
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: rtb-bf779ed7
|
||||
routes:
|
||||
description: List of routes in the route table
|
||||
|
@ -178,37 +178,37 @@ route_table:
|
|||
destination_cidr_block:
|
||||
description: CIDR block of destination
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.228.228.0/22
|
||||
gateway_id:
|
||||
description: ID of the gateway
|
||||
returned: when gateway is local or internet gateway
|
||||
type: string
|
||||
type: str
|
||||
sample: local
|
||||
instance_id:
|
||||
description: ID of a NAT instance
|
||||
returned: when the route is via an EC2 instance
|
||||
type: string
|
||||
type: str
|
||||
sample: i-abcd123456789
|
||||
instance_owner_id:
|
||||
description: AWS account owning the NAT instance
|
||||
returned: when the route is via an EC2 instance
|
||||
type: string
|
||||
type: str
|
||||
sample: 123456789012
|
||||
nat_gateway_id:
|
||||
description: ID of the NAT gateway
|
||||
returned: when the route is via a NAT gateway
|
||||
type: string
|
||||
type: str
|
||||
sample: local
|
||||
origin:
|
||||
description: mechanism through which the route is in the table
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: CreateRouteTable
|
||||
state:
|
||||
description: state of the route
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: active
|
||||
tags:
|
||||
description: Tags applied to the route table
|
||||
|
@ -220,7 +220,7 @@ route_table:
|
|||
vpc_id:
|
||||
description: ID for the VPC in which the route lives
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-6e2d2407
|
||||
'''
|
||||
|
||||
|
|
|
@ -123,27 +123,27 @@ subnet:
|
|||
id:
|
||||
description: Subnet resource id
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-b883b2c4
|
||||
cidr_block:
|
||||
description: The IPv4 CIDR of the Subnet
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: "10.0.0.0/16"
|
||||
ipv6_cidr_block:
|
||||
description: The IPv6 CIDR block actively associated with the Subnet
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: "2001:db8:0:102::/64"
|
||||
availability_zone:
|
||||
description: Availability zone of the Subnet
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: us-east-1a
|
||||
state:
|
||||
description: state of the Subnet
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
tags:
|
||||
description: tags attached to the Subnet, includes name
|
||||
|
@ -153,32 +153,32 @@ subnet:
|
|||
map_public_ip_on_launch:
|
||||
description: whether public IP is auto-assigned to new instances
|
||||
returned: I(state=present)
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: false
|
||||
assign_ipv6_address_on_creation:
|
||||
description: whether IPv6 address is auto-assigned to new instances
|
||||
returned: I(state=present)
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: false
|
||||
vpc_id:
|
||||
description: the id of the VPC where this Subnet exists
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-67236184
|
||||
available_ip_address_count:
|
||||
description: number of available IPv4 addresses
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: 251
|
||||
default_for_az:
|
||||
description: indicates whether this is the default Subnet for this Availability Zone
|
||||
returned: I(state=present)
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: false
|
||||
ipv6_association_id:
|
||||
description: The IPv6 association ID for the currently associated CIDR
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-cidr-assoc-b85c74d2
|
||||
ipv6_cidr_block_association_set:
|
||||
description: An array of IPv6 cidr block association set information.
|
||||
|
@ -188,11 +188,11 @@ subnet:
|
|||
association_id:
|
||||
description: The association ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
ipv6_cidr_block:
|
||||
description: The IPv6 CIDR block that is associated with the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
ipv6_cidr_block_state:
|
||||
description: A hash/dict that contains a single item. The state of the cidr block association.
|
||||
returned: always
|
||||
|
@ -201,7 +201,7 @@ subnet:
|
|||
state:
|
||||
description: The CIDR block association state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
|
||||
|
|
|
@ -91,19 +91,19 @@ subnets:
|
|||
subnet_id:
|
||||
description: The ID of the Subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
id:
|
||||
description: The ID of the Subnet (for backwards compatibility).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
vpc_id:
|
||||
description: The ID of the VPC .
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
state:
|
||||
description: The state of the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
tags:
|
||||
description: A dict of tags associated with the Subnet.
|
||||
returned: always
|
||||
|
@ -111,27 +111,27 @@ subnets:
|
|||
map_public_ip_on_launch:
|
||||
description: True/False depending on attribute setting for public IP mapping.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
default_for_az:
|
||||
description: True if this is the default subnet for AZ.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
cidr_block:
|
||||
description: The IPv4 CIDR block assigned to the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
available_ip_address_count:
|
||||
description: Count of available IPs in subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
availability_zone:
|
||||
description: The availability zone where the subnet exists.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
assign_ipv6_address_on_creation:
|
||||
description: True/False depending on attribute setting for IPv6 address assignment.
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
ipv6_cidr_block_association_set:
|
||||
description: An array of IPv6 cidr block association set information.
|
||||
returned: always
|
||||
|
@ -140,11 +140,11 @@ subnets:
|
|||
association_id:
|
||||
description: The association ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
ipv6_cidr_block:
|
||||
description: The IPv6 CIDR block that is associated with the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
ipv6_cidr_block_state:
|
||||
description: A hash/dict that contains a single item. The state of the cidr block association.
|
||||
returned: always
|
||||
|
@ -153,7 +153,7 @@ subnets:
|
|||
state:
|
||||
description: The CIDR block association state.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -104,7 +104,7 @@ RETURN = '''
|
|||
result:
|
||||
description: The result of the create, or delete action.
|
||||
returned: success
|
||||
type: dictionary
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import time
|
||||
|
|
|
@ -230,7 +230,7 @@ routes:
|
|||
}]
|
||||
state:
|
||||
description: The status of the VPN connection.
|
||||
type: string
|
||||
type: str
|
||||
returned: I(state=present)
|
||||
sample:
|
||||
state: available
|
||||
|
|
|
@ -59,16 +59,16 @@ vpn_connections:
|
|||
category:
|
||||
description: The category of the VPN connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: VPN
|
||||
customer_gatway_configuration:
|
||||
description: The configuration information for the VPN connection's customer gateway (in the native XML format).
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
customer_gateway_id:
|
||||
description: The ID of the customer gateway at your end of the VPN connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: cgw-17a53c37
|
||||
options:
|
||||
description: The VPN connection options.
|
||||
|
@ -85,17 +85,17 @@ vpn_connections:
|
|||
destination_cidr_block:
|
||||
description: The CIDR block associated with the local subnet of the customer data center.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.0.0/16
|
||||
state:
|
||||
description: The current state of the static route.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
state:
|
||||
description: The current state of the VPN connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
tags:
|
||||
description: Any tags assigned to the VPN connection.
|
||||
|
@ -107,7 +107,7 @@ vpn_connections:
|
|||
type:
|
||||
description: The type of VPN connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ipsec.1
|
||||
vgw_telemetry:
|
||||
description: Information about the VPN tunnel.
|
||||
|
@ -127,27 +127,27 @@ vpn_connections:
|
|||
outside_ip_address:
|
||||
description: The Internet-routable IP address of the virtual private gateway's outside interface.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 13.127.79.191
|
||||
status:
|
||||
description: The status of the VPN tunnel.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: DOWN
|
||||
status_message:
|
||||
description: If an error occurs, a description of the error.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: IPSEC IS DOWN
|
||||
vpn_connection_id:
|
||||
description: The ID of the VPN connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpn-f700d5c0
|
||||
vpn_gateway_id:
|
||||
description: The ID of the virtual private gateway at the AWS side of the VPN connection.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vgw-cbe56bfb
|
||||
'''
|
||||
|
||||
|
|
|
@ -88,21 +88,21 @@ attributes:
|
|||
contains:
|
||||
cluster:
|
||||
description: cluster name
|
||||
type: string
|
||||
type: str
|
||||
ec2_instance_id:
|
||||
description: ec2 instance id of ecs container instance
|
||||
type: string
|
||||
type: str
|
||||
attributes:
|
||||
description: list of attributes
|
||||
type: list of complex
|
||||
contains:
|
||||
name:
|
||||
description: name of the attribute
|
||||
type: string
|
||||
type: str
|
||||
value:
|
||||
description: value of the attribute
|
||||
returned: if present
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -75,12 +75,12 @@ activeServicesCount:
|
|||
type: int
|
||||
clusterArn:
|
||||
description: the ARN of the cluster just created
|
||||
type: string
|
||||
type: str
|
||||
returned: 0 if a new cluster
|
||||
sample: arn:aws:ecs:us-west-2:172139249013:cluster/test-cluster-mfshcdok
|
||||
clusterName:
|
||||
description: name of the cluster just created (should match the input argument)
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: test-cluster-mfshcdok
|
||||
pendingTasksCount:
|
||||
|
@ -98,7 +98,7 @@ runningTasksCount:
|
|||
status:
|
||||
description: the status of the new cluster
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ACTIVE
|
||||
'''
|
||||
import time
|
||||
|
|
|
@ -99,15 +99,15 @@ EXAMPLES = '''
|
|||
|
||||
RETURN = '''
|
||||
state:
|
||||
type: string
|
||||
type: str
|
||||
description: The asserted state of the repository (present, absent)
|
||||
returned: always
|
||||
created:
|
||||
type: boolean
|
||||
type: bool
|
||||
description: If true, the repository was created
|
||||
returned: always
|
||||
name:
|
||||
type: string
|
||||
type: str
|
||||
description: The name of the repository
|
||||
returned: "when state == 'absent'"
|
||||
repository:
|
||||
|
|
|
@ -199,7 +199,7 @@ service:
|
|||
clusterArn:
|
||||
description: The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
desiredCount:
|
||||
description: The desired number of instantiations of the task definition to keep running on the service.
|
||||
returned: always
|
||||
|
@ -212,11 +212,11 @@ service:
|
|||
loadBalancerName:
|
||||
description: the name
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
containerName:
|
||||
description: The name of the container to associate with the load balancer.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
containerPort:
|
||||
description: The port on the container to associate with the load balancer.
|
||||
returned: always
|
||||
|
@ -234,19 +234,19 @@ service:
|
|||
of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example,
|
||||
arn:aws:ecs:region :012345678910 :service/my-service .
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
serviceName:
|
||||
description: A user-generated string used to identify the service
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
status:
|
||||
description: The valid values are ACTIVE, DRAINING, or INACTIVE.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
taskDefinition:
|
||||
description: The ARN of a task definition to use for tasks in the service.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
deployments:
|
||||
description: list of service deployments
|
||||
returned: always
|
||||
|
@ -276,12 +276,12 @@ service:
|
|||
type:
|
||||
description: The type of constraint. Valid values are distinctInstance and memberOf.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
expression:
|
||||
description: A cluster query language expression to apply to the constraint. Note you cannot specify an expression if the constraint type is
|
||||
distinctInstance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
placementStrategy:
|
||||
description: List of placement strategy objects
|
||||
returned: always
|
||||
|
@ -290,13 +290,13 @@ service:
|
|||
type:
|
||||
description: The type of placement strategy. Valid values are random, spread and binpack.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
field:
|
||||
description: The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId
|
||||
(or host, which has the same effect), or any platform or custom attribute that is applied to a container instance,
|
||||
such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are CPU and MEMORY.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
ansible_facts:
|
||||
description: Facts about deleted service.
|
||||
returned: when deleting a service
|
||||
|
|
|
@ -72,7 +72,7 @@ services:
|
|||
clusterArn:
|
||||
description: The Amazon Resource Name (ARN) of the of the cluster that hosts the service.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
desiredCount:
|
||||
description: The desired number of instantiations of the task definition to keep running on the service.
|
||||
returned: always
|
||||
|
@ -85,11 +85,11 @@ services:
|
|||
loadBalancerName:
|
||||
description: the name
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
containerName:
|
||||
description: The name of the container to associate with the load balancer.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
containerPort:
|
||||
description: The port on the container to associate with the load balancer.
|
||||
returned: always
|
||||
|
@ -105,19 +105,19 @@ services:
|
|||
serviceArn:
|
||||
description: The Amazon Resource Name (ARN) that identifies the service. The ARN contains the arn:aws:ecs namespace, followed by the region of the service, the AWS account ID of the service owner, the service namespace, and then the service name. For example, arn:aws:ecs:region :012345678910 :service/my-service .
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
serviceName:
|
||||
description: A user-generated string used to identify the service
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
status:
|
||||
description: The valid values are ACTIVE, DRAINING, or INACTIVE.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
taskDefinition:
|
||||
description: The ARN of a task definition to use for tasks in the service.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
deployments:
|
||||
description: list of service deployments
|
||||
returned: always
|
||||
|
|
|
@ -111,19 +111,19 @@ task:
|
|||
taskArn:
|
||||
description: The Amazon Resource Name (ARN) that identifies the task.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
clusterArn:
|
||||
description: The Amazon Resource Name (ARN) of the of the cluster that hosts the task.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
taskDefinitionArn:
|
||||
description: The Amazon Resource Name (ARN) of the task definition.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
containerInstanceArn:
|
||||
description: The Amazon Resource Name (ARN) of the container running the task.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
overrides:
|
||||
description: The container overrides set for this task.
|
||||
returned: only when details is true
|
||||
|
@ -131,11 +131,11 @@ task:
|
|||
lastStatus:
|
||||
description: The last recorded status of the task.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
desiredStatus:
|
||||
description: The desired status of the task.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
containers:
|
||||
description: The container details.
|
||||
returned: only when details is true
|
||||
|
@ -143,23 +143,23 @@ task:
|
|||
startedBy:
|
||||
description: The used who started the task.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
stoppedReason:
|
||||
description: The reason why the task was stopped.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
createdAt:
|
||||
description: The timestamp of when the task was created.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
startedAt:
|
||||
description: The timestamp of when the task was started.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
stoppedAt:
|
||||
description: The timestamp of when the task was stopped.
|
||||
returned: only when details is true
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
from ansible.module_utils.aws.core import AnsibleAWSModule
|
||||
|
|
|
@ -51,11 +51,11 @@ container_definitions:
|
|||
name:
|
||||
description: The name of a container.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
image:
|
||||
description: The image used to start a container.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
cpu:
|
||||
description: The number of cpu units reserved for the container.
|
||||
returned: always
|
||||
|
@ -67,7 +67,7 @@ container_definitions:
|
|||
links:
|
||||
description: Links to other containers.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
portMappings:
|
||||
description: The list of port mappings for the container.
|
||||
returned: always
|
||||
|
@ -84,7 +84,7 @@ container_definitions:
|
|||
protocol:
|
||||
description: The protocol used for the port mapping.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
essential:
|
||||
description: Whether this is an essential container or not.
|
||||
returned: always
|
||||
|
@ -92,11 +92,11 @@ container_definitions:
|
|||
entryPoint:
|
||||
description: The entry point that is passed to the container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
command:
|
||||
description: The command that is passed to the container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
environment:
|
||||
description: The environment variables to pass to a container.
|
||||
returned: always
|
||||
|
@ -105,11 +105,11 @@ container_definitions:
|
|||
name:
|
||||
description: The name of the environment variable.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
value:
|
||||
description: The value of the environment variable.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
mountPoints:
|
||||
description: The mount points for data volumes in your container.
|
||||
returned: always
|
||||
|
@ -118,11 +118,11 @@ container_definitions:
|
|||
sourceVolume:
|
||||
description: The name of the volume to mount.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
containerPath:
|
||||
description: The path on the container to mount the host volume at.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
readOnly:
|
||||
description: If this value is true , the container has read-only access to the volume.
|
||||
If this value is false , then the container can write to the volume.
|
||||
|
@ -136,7 +136,7 @@ container_definitions:
|
|||
sourceContainer:
|
||||
description: The name of another container within the same task definition to mount volumes from.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
readOnly:
|
||||
description: If this value is true , the container has read-only access to the volume.
|
||||
If this value is false , then the container can write to the volume.
|
||||
|
@ -145,15 +145,15 @@ container_definitions:
|
|||
hostname:
|
||||
description: The hostname to use for your container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
user:
|
||||
description: The user name to use inside the container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
workingDirectory:
|
||||
description: The working directory in which to run commands inside the container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
disableNetworking:
|
||||
description: When this parameter is true, networking is disabled within the container.
|
||||
returned: when present
|
||||
|
@ -170,11 +170,11 @@ container_definitions:
|
|||
dnsServers:
|
||||
description: A list of DNS servers that are presented to the container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
dnsSearchDomains:
|
||||
description: A list of DNS search domains that are presented to the container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
extraHosts:
|
||||
description: A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.
|
||||
returned: when present
|
||||
|
@ -183,19 +183,19 @@ container_definitions:
|
|||
hostname:
|
||||
description: The hostname to use in the /etc/hosts entry.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
ipAddress:
|
||||
description: The IP address to use in the /etc/hosts entry.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
dockerSecurityOptions:
|
||||
description: A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
dockerLabels:
|
||||
description: A key/value map of labels to add to the container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
ulimits:
|
||||
description: A list of ulimits to set in the container.
|
||||
returned: when present
|
||||
|
@ -204,7 +204,7 @@ container_definitions:
|
|||
name:
|
||||
description: The type of the ulimit .
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
softLimit:
|
||||
description: The soft limit for the ulimit type.
|
||||
returned: when present
|
||||
|
@ -216,28 +216,28 @@ container_definitions:
|
|||
logConfiguration:
|
||||
description: The log configuration specification for the container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
options:
|
||||
description: The configuration options to send to the log driver.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
|
||||
family:
|
||||
description: The family of your task definition, used as the definition name
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
task_definition_arn:
|
||||
description: ARN of the task definition
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
task_role_arn:
|
||||
description: The ARN of the IAM role that containers in this task can assume
|
||||
returned: when role is set
|
||||
type: string
|
||||
type: str
|
||||
network_mode:
|
||||
description: Network mode for the containers
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
revision:
|
||||
description: Revision number that was queried
|
||||
returned: always
|
||||
|
@ -250,7 +250,7 @@ volumes:
|
|||
name:
|
||||
description: The name of the volume.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
host:
|
||||
description: The contents of the host parameter determine whether your data volume
|
||||
persists on the host container instance and where it is stored.
|
||||
|
@ -259,11 +259,11 @@ volumes:
|
|||
source_path:
|
||||
description: The path on the host container instance that is presented to the container.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
status:
|
||||
description: The status of the task definition
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
requires_attributes:
|
||||
description: The container instance attributes required by your task
|
||||
returned: when present
|
||||
|
@ -272,19 +272,19 @@ requires_attributes:
|
|||
name:
|
||||
description: The name of the attribute.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
value:
|
||||
description: The value of the attribute.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
targetType:
|
||||
description: The type of the target with which to attach the attribute.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
targetId:
|
||||
description: The ID of the target.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
placement_constraints:
|
||||
description: A list of placement constraint objects to use for tasks
|
||||
returned: always
|
||||
|
@ -293,11 +293,11 @@ placement_constraints:
|
|||
type:
|
||||
description: The type of constraint.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
expression:
|
||||
description: A cluster query language expression to apply to the constraint.
|
||||
returned: when present
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
from ansible.module_utils.aws.core import AnsibleAWSModule
|
||||
|
|
|
@ -130,32 +130,32 @@ RETURN = '''
|
|||
creation_time:
|
||||
description: timestamp of creation date
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "2015-11-16 07:30:57-05:00"
|
||||
creation_token:
|
||||
description: EFS creation token
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "console-88609e04-9a0e-4a2e-912c-feaa99509961"
|
||||
file_system_id:
|
||||
description: ID of the file system
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "fs-xxxxxxxx"
|
||||
life_cycle_state:
|
||||
description: state of the EFS file system
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "creating, available, deleting, deleted"
|
||||
mount_point:
|
||||
description: url of file system with leading dot from the time when AWS EFS required to add a region suffix to the address
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ".fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/"
|
||||
filesystem_address:
|
||||
description: url of file system valid for use with mount
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "fs-xxxxxxxx.efs.us-west-2.amazonaws.com:/"
|
||||
mount_targets:
|
||||
description: list of mount targets
|
||||
|
@ -180,7 +180,7 @@ mount_targets:
|
|||
name:
|
||||
description: name of the file system
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "my-efs"
|
||||
number_of_mount_targets:
|
||||
description: the number of targets mounted
|
||||
|
@ -190,7 +190,7 @@ number_of_mount_targets:
|
|||
owner_id:
|
||||
description: AWS account ID of EFS owner
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "XXXXXXXXXXXX"
|
||||
size_in_bytes:
|
||||
description: size of the file system in bytes as of a timestamp
|
||||
|
@ -204,7 +204,7 @@ size_in_bytes:
|
|||
performance_mode:
|
||||
description: performance mode of the file system
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "generalPurpose"
|
||||
tags:
|
||||
description: tags on the efs instance
|
||||
|
|
|
@ -47,22 +47,22 @@ elasticache_clusters:
|
|||
cache_cluster_create_time:
|
||||
description: Date and time cluster was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-09-15T05:43:46.038000+00:00'
|
||||
cache_cluster_id:
|
||||
description: ID of the cache cluster
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: abcd-1234-001
|
||||
cache_cluster_status:
|
||||
description: Status of Elasticache cluster
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
cache_node_type:
|
||||
description: Instance type of Elasticache nodes
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: cache.t2.micro
|
||||
cache_nodes:
|
||||
description: List of Elasticache nodes in the cluster
|
||||
|
@ -72,22 +72,22 @@ elasticache_clusters:
|
|||
cache_node_create_time:
|
||||
description: Date and time node was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-09-15T05:43:46.038000+00:00'
|
||||
cache_node_id:
|
||||
description: ID of the cache node
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '0001'
|
||||
cache_node_status:
|
||||
description: Status of the cache node
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
customer_availability_zone:
|
||||
description: Availability Zone in which the cache node was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ap-southeast-2b
|
||||
endpoint:
|
||||
description: Connection details for the cache node
|
||||
|
@ -97,7 +97,7 @@ elasticache_clusters:
|
|||
address:
|
||||
description: URL of the cache node endpoint
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: abcd-1234-001.bgiz2p.0001.apse2.cache.amazonaws.com
|
||||
port:
|
||||
description: Port of the cache node endpoint
|
||||
|
@ -107,7 +107,7 @@ elasticache_clusters:
|
|||
parameter_grou_status:
|
||||
description: Status of the Cache Parameter Group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in-sync
|
||||
cache_parameter_group:
|
||||
description: Contents of the Cache Parameter GGroup
|
||||
|
@ -122,12 +122,12 @@ elasticache_clusters:
|
|||
cache_parameter_group_name:
|
||||
description: Name of the cache parameter group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default.redis3.2
|
||||
parameter_apply_status:
|
||||
description: Status of parameter updates
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in-sync
|
||||
cache_security_groups:
|
||||
description: Security Groups used by the cache
|
||||
|
@ -138,22 +138,22 @@ elasticache_clusters:
|
|||
cache_subnet_group_name:
|
||||
description: Elasticache Subnet Group used by the cache
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: abcd-subnet-group
|
||||
client_download_landing_page:
|
||||
description: URL of client download web page
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 'https://console.aws.amazon.com/elasticache/home#client-download:'
|
||||
engine:
|
||||
description: Engine used by elasticache
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: redis
|
||||
engine_version:
|
||||
description: Version of elasticache engine
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 3.2.4
|
||||
notification_configuration:
|
||||
description: Configuration of notifications
|
||||
|
@ -163,12 +163,12 @@ elasticache_clusters:
|
|||
topic_arn:
|
||||
description: ARN of notification destination topic
|
||||
returned: if notifications are enabled
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:sns:*:123456789012:my_topic
|
||||
topic_name:
|
||||
description: Name of notification destination topic
|
||||
returned: if notifications are enabled
|
||||
type: string
|
||||
type: str
|
||||
sample: MyTopic
|
||||
num_cache_nodes:
|
||||
description: Number of Cache Nodes
|
||||
|
@ -183,17 +183,17 @@ elasticache_clusters:
|
|||
preferred_availability_zone:
|
||||
description: Preferred Availability Zone
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ap-southeast-2b
|
||||
preferred_maintenance_window:
|
||||
description: Time slot for preferred maintenance window
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sat:12:00-sat:13:00
|
||||
replication_group_id:
|
||||
description: Replication Group Id
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: replication-001
|
||||
security_groups:
|
||||
description: List of Security Groups associated with Elasticache
|
||||
|
@ -203,12 +203,12 @@ elasticache_clusters:
|
|||
security_group_id:
|
||||
description: Security Group ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sg-abcd1234
|
||||
status:
|
||||
description: Status of Security Group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: active
|
||||
tags:
|
||||
description: Tags applied to the elasticache cluster
|
||||
|
|
|
@ -221,17 +221,17 @@ RETURN = '''
|
|||
access_logs_s3_bucket:
|
||||
description: The name of the S3 bucket for the access logs.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: mys3bucket
|
||||
access_logs_s3_enabled:
|
||||
description: Indicates whether access logs stored in Amazon S3 are enabled.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: true
|
||||
access_logs_s3_prefix:
|
||||
description: The prefix for the location in the S3 bucket.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: /my/logs
|
||||
availability_zones:
|
||||
description: The Availability Zones for the load balancer.
|
||||
|
@ -241,32 +241,32 @@ availability_zones:
|
|||
canonical_hosted_zone_id:
|
||||
description: The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ABCDEF12345678
|
||||
created_time:
|
||||
description: The date and time the load balancer was created.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "2015-02-12T02:14:02+00:00"
|
||||
deletion_protection_enabled:
|
||||
description: Indicates whether deletion protection is enabled.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: true
|
||||
dns_name:
|
||||
description: The public DNS name of the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: internal-my-elb-123456789.ap-southeast-2.elb.amazonaws.com
|
||||
idle_timeout_timeout_seconds:
|
||||
description: The idle timeout value, in seconds.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: 60
|
||||
ip_address_type:
|
||||
description: The type of IP addresses used by the subnets for the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ipv4
|
||||
listeners:
|
||||
description: Information about the listeners.
|
||||
|
@ -276,12 +276,12 @@ listeners:
|
|||
listener_arn:
|
||||
description: The Amazon Resource Name (ARN) of the listener.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
load_balancer_arn:
|
||||
description: The Amazon Resource Name (ARN) of the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
port:
|
||||
description: The port on which the load balancer is listening.
|
||||
|
@ -291,7 +291,7 @@ listeners:
|
|||
protocol:
|
||||
description: The protocol for connections from clients to the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: HTTPS
|
||||
certificates:
|
||||
description: The SSL server certificate.
|
||||
|
@ -301,47 +301,47 @@ listeners:
|
|||
certificate_arn:
|
||||
description: The Amazon Resource Name (ARN) of the certificate.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ssl_policy:
|
||||
description: The security policy that defines which ciphers and protocols are supported.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
default_actions:
|
||||
description: The default actions for the listener.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
contains:
|
||||
type:
|
||||
description: The type of action.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
target_group_arn:
|
||||
description: The Amazon Resource Name (ARN) of the target group.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
load_balancer_arn:
|
||||
description: The Amazon Resource Name (ARN) of the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455
|
||||
load_balancer_name:
|
||||
description: The name of the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: my-elb
|
||||
routing_http2_enabled:
|
||||
description: Indicates whether HTTP/2 is enabled.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: true
|
||||
scheme:
|
||||
description: Internet-facing or internal load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: internal
|
||||
security_groups:
|
||||
description: The IDs of the security groups for the load balancer.
|
||||
|
@ -363,12 +363,12 @@ tags:
|
|||
type:
|
||||
description: The type of load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: application
|
||||
vpc_id:
|
||||
description: The ID of the VPC for the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-0011223344
|
||||
'''
|
||||
|
||||
|
|
|
@ -68,17 +68,17 @@ load_balancers:
|
|||
access_logs_s3_bucket:
|
||||
description: The name of the S3 bucket for the access logs.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: mys3bucket
|
||||
access_logs_s3_enabled:
|
||||
description: Indicates whether access logs stored in Amazon S3 are enabled.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: true
|
||||
access_logs_s3_prefix:
|
||||
description: The prefix for the location in the S3 bucket.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: /my/logs
|
||||
availability_zones:
|
||||
description: The Availability Zones for the load balancer.
|
||||
|
@ -88,47 +88,47 @@ load_balancers:
|
|||
canonical_hosted_zone_id:
|
||||
description: The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ABCDEF12345678
|
||||
created_time:
|
||||
description: The date and time the load balancer was created.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "2015-02-12T02:14:02+00:00"
|
||||
deletion_protection_enabled:
|
||||
description: Indicates whether deletion protection is enabled.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: true
|
||||
dns_name:
|
||||
description: The public DNS name of the load balancer.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: internal-my-elb-123456789.ap-southeast-2.elb.amazonaws.com
|
||||
idle_timeout_timeout_seconds:
|
||||
description: The idle timeout value, in seconds.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: 60
|
||||
ip_address_type:
|
||||
description: The type of IP addresses used by the subnets for the load balancer.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ipv4
|
||||
load_balancer_arn:
|
||||
description: The Amazon Resource Name (ARN) of the load balancer.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455
|
||||
load_balancer_name:
|
||||
description: The name of the load balancer.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: my-elb
|
||||
scheme:
|
||||
description: Internet-facing or internal load balancer.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: internal
|
||||
security_groups:
|
||||
description: The IDs of the security groups for the load balancer.
|
||||
|
@ -150,12 +150,12 @@ load_balancers:
|
|||
type:
|
||||
description: The type of load balancer.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: application
|
||||
vpc_id:
|
||||
description: The ID of the VPC for the load balancer.
|
||||
returned: when status is present
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-0011223344
|
||||
'''
|
||||
|
||||
|
|
|
@ -140,32 +140,32 @@ availability_zones:
|
|||
canonical_hosted_zone_id:
|
||||
description: The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ABCDEF12345678
|
||||
created_time:
|
||||
description: The date and time the load balancer was created.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: "2015-02-12T02:14:02+00:00"
|
||||
deletion_protection_enabled:
|
||||
description: Indicates whether deletion protection is enabled.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: true
|
||||
dns_name:
|
||||
description: The public DNS name of the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: internal-my-elb-123456789.ap-southeast-2.elb.amazonaws.com
|
||||
idle_timeout_timeout_seconds:
|
||||
description: The idle timeout value, in seconds.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: 60
|
||||
ip_address_type:
|
||||
description: The type of IP addresses used by the subnets for the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ipv4
|
||||
listeners:
|
||||
description: Information about the listeners.
|
||||
|
@ -175,12 +175,12 @@ listeners:
|
|||
listener_arn:
|
||||
description: The Amazon Resource Name (ARN) of the listener.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
load_balancer_arn:
|
||||
description: The Amazon Resource Name (ARN) of the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
port:
|
||||
description: The port on which the load balancer is listening.
|
||||
|
@ -190,7 +190,7 @@ listeners:
|
|||
protocol:
|
||||
description: The protocol for connections from clients to the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: HTTPS
|
||||
certificates:
|
||||
description: The SSL server certificate.
|
||||
|
@ -200,47 +200,47 @@ listeners:
|
|||
certificate_arn:
|
||||
description: The Amazon Resource Name (ARN) of the certificate.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
ssl_policy:
|
||||
description: The security policy that defines which ciphers and protocols are supported.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
default_actions:
|
||||
description: The default actions for the listener.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
contains:
|
||||
type:
|
||||
description: The type of action.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
target_group_arn:
|
||||
description: The Amazon Resource Name (ARN) of the target group.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
load_balancer_arn:
|
||||
description: The Amazon Resource Name (ARN) of the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:elasticloadbalancing:ap-southeast-2:0123456789:loadbalancer/app/my-elb/001122334455
|
||||
load_balancer_name:
|
||||
description: The name of the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: my-elb
|
||||
load_balancing_cross_zone_enabled:
|
||||
description: Indicates whether cross-zone load balancing is enabled.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: true
|
||||
scheme:
|
||||
description: Internet-facing or internal load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: internal
|
||||
state:
|
||||
description: The state of the load balancer.
|
||||
|
@ -257,12 +257,12 @@ tags:
|
|||
type:
|
||||
description: The type of load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: network
|
||||
vpc_id:
|
||||
description: The ID of the VPC for the load balancer.
|
||||
returned: when state is present
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-0011223344
|
||||
'''
|
||||
|
||||
|
|
|
@ -141,14 +141,14 @@ instance_target_groups:
|
|||
contains:
|
||||
target_group_arn:
|
||||
description: The ARN of the target group
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample:
|
||||
- "arn:aws:elasticloadbalancing:eu-west-1:111111111111:targetgroup/target-group/deadbeefdeadbeef"
|
||||
target_group_type:
|
||||
description: Which target type is used for this group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample:
|
||||
- ip
|
||||
- instance
|
||||
|
|
|
@ -227,17 +227,17 @@ health_check_interval_seconds:
|
|||
health_check_path:
|
||||
description: The destination for the health check request.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: /index.html
|
||||
health_check_port:
|
||||
description: The port to use to connect with the target.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: traffic-port
|
||||
health_check_protocol:
|
||||
description: The protocol to use to connect with the target.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: HTTP
|
||||
health_check_timeout_seconds:
|
||||
description: The amount of time, in seconds, during which no response means a failed health check.
|
||||
|
@ -269,7 +269,7 @@ port:
|
|||
protocol:
|
||||
description: The protocol to use for routing traffic to the targets.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: HTTP
|
||||
stickiness_enabled:
|
||||
description: Indicates whether sticky sessions are enabled.
|
||||
|
@ -284,7 +284,7 @@ stickiness_lb_cookie_duration_seconds:
|
|||
stickiness_type:
|
||||
description: The type of sticky sessions.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: lb_cookie
|
||||
tags:
|
||||
description: The tags attached to the target group.
|
||||
|
@ -296,12 +296,12 @@ tags:
|
|||
target_group_arn:
|
||||
description: The Amazon Resource Name (ARN) of the target group.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:elasticloadbalancing:ap-southeast-2:01234567890:targetgroup/mytargetgroup/aabbccddee0044332211"
|
||||
target_group_name:
|
||||
description: The name of the target group.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: mytargetgroup
|
||||
unhealthy_threshold_count:
|
||||
description: The number of consecutive health check failures required before considering the target unhealthy.
|
||||
|
@ -311,7 +311,7 @@ unhealthy_threshold_count:
|
|||
vpc_id:
|
||||
description: The ID of the VPC for the targets.
|
||||
returned: when state present
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-0123456
|
||||
'''
|
||||
|
||||
|
|
|
@ -75,17 +75,17 @@ target_groups:
|
|||
health_check_path:
|
||||
description: The destination for the health check request.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /index.html
|
||||
health_check_port:
|
||||
description: The port to use to connect with the target.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: traffic-port
|
||||
health_check_protocol:
|
||||
description: The protocol to use to connect with the target.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: HTTP
|
||||
health_check_timeout_seconds:
|
||||
description: The amount of time, in seconds, during which no response means a failed health check.
|
||||
|
@ -117,7 +117,7 @@ target_groups:
|
|||
protocol:
|
||||
description: The protocol to use for routing traffic to the targets.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: HTTP
|
||||
stickiness_enabled:
|
||||
description: Indicates whether sticky sessions are enabled.
|
||||
|
@ -132,7 +132,7 @@ target_groups:
|
|||
stickiness_type:
|
||||
description: The type of sticky sessions.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: lb_cookie
|
||||
tags:
|
||||
description: The tags attached to the target group.
|
||||
|
@ -144,12 +144,12 @@ target_groups:
|
|||
target_group_arn:
|
||||
description: The Amazon Resource Name (ARN) of the target group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:elasticloadbalancing:ap-southeast-2:01234567890:targetgroup/mytargetgroup/aabbccddee0044332211"
|
||||
target_group_name:
|
||||
description: The name of the target group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: mytargetgroup
|
||||
unhealthy_threshold_count:
|
||||
description: The number of consecutive health check failures required before considering the target unhealthy.
|
||||
|
@ -159,7 +159,7 @@ target_groups:
|
|||
vpc_id:
|
||||
description: The ID of the VPC for the targets.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-0123456
|
||||
'''
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ output:
|
|||
sample: "{ 'output': 'something' }"
|
||||
logs:
|
||||
description: The last 4KB of the function logs. Only provided if I(tail_log) is true
|
||||
type: string
|
||||
type: str
|
||||
returned: if I(tail_log) == true
|
||||
status:
|
||||
description: C(StatusCode) of API call exit (200 for synchronous invokes, 202 for async)
|
||||
|
|
|
@ -137,7 +137,7 @@ task:
|
|||
RETURN = '''
|
||||
role_result:
|
||||
description: the IAM.role dict returned by Boto
|
||||
type: string
|
||||
type: str
|
||||
returned: if iam_type=role and state=present
|
||||
sample: {
|
||||
"arn": "arn:aws:iam::A1B2C3D4E5F6:role/my-new-role",
|
||||
|
|
|
@ -118,23 +118,23 @@ group:
|
|||
contains:
|
||||
arn:
|
||||
description: the Amazon Resource Name (ARN) specifying the group
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:iam::1234567890:group/testgroup1"
|
||||
create_date:
|
||||
description: the date and time, in ISO 8601 date-time format, when the group was created
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-02-08T04:36:28+00:00"
|
||||
group_id:
|
||||
description: the stable and unique string identifying the group
|
||||
type: string
|
||||
type: str
|
||||
sample: AGPAIDBWE12NSFINE55TM
|
||||
group_name:
|
||||
description: the friendly name that identifies the group
|
||||
type: string
|
||||
type: str
|
||||
sample: testgroup1
|
||||
path:
|
||||
description: the path to the group
|
||||
type: string
|
||||
type: str
|
||||
sample: /
|
||||
users:
|
||||
description: list containing all the group members
|
||||
|
@ -143,23 +143,23 @@ users:
|
|||
contains:
|
||||
arn:
|
||||
description: the Amazon Resource Name (ARN) specifying the user
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:iam::1234567890:user/test_user1"
|
||||
create_date:
|
||||
description: the date and time, in ISO 8601 date-time format, when the user was created
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-02-08T04:36:28+00:00"
|
||||
user_id:
|
||||
description: the stable and unique string identifying the user
|
||||
type: string
|
||||
type: str
|
||||
sample: AIDAIZTPY123YQRS22YU2
|
||||
user_name:
|
||||
description: the friendly name that identifies the user
|
||||
type: string
|
||||
type: str
|
||||
sample: testgroup1
|
||||
path:
|
||||
description: the path to the user
|
||||
type: string
|
||||
type: str
|
||||
sample: /
|
||||
'''
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ RETURN = '''
|
|||
policy:
|
||||
description: Returns the policy json structure, when state == absent this will return the value of the removed policy.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: '{
|
||||
"arn": "arn:aws:iam::aws:policy/AdministratorAccess "
|
||||
"attachment_count": 0,
|
||||
|
|
|
@ -104,32 +104,32 @@ iam_role:
|
|||
contains:
|
||||
path:
|
||||
description: the path to the role
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: /
|
||||
role_name:
|
||||
description: the friendly name that identifies the role
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: myrole
|
||||
role_id:
|
||||
description: the stable and unique string identifying the role
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: ABCDEFF4EZ4ABCDEFV4ZC
|
||||
arn:
|
||||
description: the Amazon Resource Name (ARN) specifying the role
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "arn:aws:iam::1234567890:role/mynewrole"
|
||||
create_date:
|
||||
description: the date and time, in ISO 8601 date-time format, when the role was created
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: "2016-08-14T04:36:28+00:00"
|
||||
assume_role_policy_document:
|
||||
description: the policy that grants an entity permission to assume the role
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
sample: {
|
||||
'statement': [
|
||||
|
|
|
@ -60,16 +60,16 @@ iam_roles:
|
|||
arn:
|
||||
description: Amazon Resource Name for IAM role
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:iam::123456789012:role/AnsibleTestRole
|
||||
assume_role_policy_document:
|
||||
description: Policy Document describing what can assume the role
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
create_date:
|
||||
description: Date IAM role was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-10-23T00:05:08+00:00'
|
||||
inline_policies:
|
||||
description: List of names of inline policies
|
||||
|
@ -84,12 +84,12 @@ iam_roles:
|
|||
policy_arn:
|
||||
description: Amazon Resource Name for the policy
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:iam::123456789012:policy/AnsibleTestEC2Policy
|
||||
policy_name:
|
||||
description: Name of managed policy
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: AnsibleTestEC2Policy
|
||||
instance_profiles:
|
||||
description: List of attached instance profiles
|
||||
|
@ -99,27 +99,27 @@ iam_roles:
|
|||
arn:
|
||||
description: Amazon Resource Name for the instance profile
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:iam::123456789012:instance-profile/AnsibleTestEC2Policy
|
||||
create_date:
|
||||
description: Date instance profile was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-10-23T00:05:08+00:00'
|
||||
instance_profile_id:
|
||||
description: Amazon Identifier for the instance profile
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: AROAII7ABCD123456EFGH
|
||||
instance_profile_name:
|
||||
description: Name of instance profile
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: AnsibleTestEC2Policy
|
||||
path:
|
||||
description: Path of instance profile
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /
|
||||
roles:
|
||||
description: List of roles associated with this instance profile
|
||||
|
@ -129,17 +129,17 @@ iam_roles:
|
|||
path:
|
||||
description: Path of role
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: /
|
||||
role_id:
|
||||
description: Amazon Identifier for the role
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: AROAII7ABCD123456EFGH
|
||||
role_name:
|
||||
description: Name of the role
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: AnsibleTestRole
|
||||
'''
|
||||
|
||||
|
|
|
@ -78,23 +78,23 @@ user:
|
|||
contains:
|
||||
arn:
|
||||
description: the Amazon Resource Name (ARN) specifying the user
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:iam::1234567890:user/testuser1"
|
||||
create_date:
|
||||
description: the date and time, in ISO 8601 date-time format, when the user was created
|
||||
type: string
|
||||
type: str
|
||||
sample: "2017-02-08T04:36:28+00:00"
|
||||
user_id:
|
||||
description: the stable and unique string identifying the user
|
||||
type: string
|
||||
type: str
|
||||
sample: AGPAIDBWE12NSFINE55TM
|
||||
user_name:
|
||||
description: the friendly name that identifies the user
|
||||
type: string
|
||||
type: str
|
||||
sample: testuser1
|
||||
path:
|
||||
description: the path to the user
|
||||
type: string
|
||||
type: str
|
||||
sample: /
|
||||
'''
|
||||
|
||||
|
|
|
@ -147,17 +147,17 @@ RETURN = '''
|
|||
stream_name:
|
||||
description: The name of the Kinesis Stream.
|
||||
returned: when state == present.
|
||||
type: string
|
||||
type: str
|
||||
sample: "test-stream"
|
||||
stream_arn:
|
||||
description: The amazon resource identifier
|
||||
returned: when state == present.
|
||||
type: string
|
||||
type: str
|
||||
sample: "arn:aws:kinesis:east-side:123456789:stream/test-stream"
|
||||
stream_status:
|
||||
description: The current state of the Kinesis Stream.
|
||||
returned: when state == present.
|
||||
type: string
|
||||
type: str
|
||||
sample: "ACTIVE"
|
||||
retention_period_hours:
|
||||
description: Number of hours messages will be kept for a Kinesis Stream.
|
||||
|
|
|
@ -120,22 +120,22 @@ RETURN = '''
|
|||
alias_arn:
|
||||
description: Full ARN of the function, including the alias
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:lambda:us-west-2:123456789012:function:myFunction:dev
|
||||
description:
|
||||
description: A short description of the alias
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: The development stage for my hot new app
|
||||
function_version:
|
||||
description: The qualifier that the alias refers to
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: $LATEST
|
||||
name:
|
||||
description: The name of the alias assigned
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: dev
|
||||
'''
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ RETURN = '''
|
|||
lambda_policy_action:
|
||||
description: describes what action was taken
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
import json
|
||||
|
|
|
@ -262,67 +262,67 @@ RETURN = '''
|
|||
engine:
|
||||
description: the name of the database engine
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "oracle-se"
|
||||
engine_version:
|
||||
description: the version of the database engine
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "11.2.0.4.v6"
|
||||
license_model:
|
||||
description: the license model information
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "bring-your-own-license"
|
||||
character_set_name:
|
||||
description: the name of the character set that this instance is associated with
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "AL32UTF8"
|
||||
allocated_storage:
|
||||
description: the allocated storage size in gigabytes (GB)
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "100"
|
||||
publicly_accessible:
|
||||
description: the accessibility options for the DB instance
|
||||
returned: when RDS instance exists
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: "true"
|
||||
latest_restorable_time:
|
||||
description: the latest time to which a database can be restored with point-in-time restore
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "1489707802.0"
|
||||
secondary_availability_zone:
|
||||
description: the name of the secondary AZ for a DB instance with multi-AZ support
|
||||
returned: when RDS instance exists and is multy-AZ
|
||||
type: string
|
||||
type: str
|
||||
sample: "eu-west-1b"
|
||||
backup_window:
|
||||
description: the daily time range during which automated backups are created if automated backups are enabled
|
||||
returned: when RDS instance exists and automated backups are enabled
|
||||
type: string
|
||||
type: str
|
||||
sample: "03:00-03:30"
|
||||
auto_minor_version_upgrade:
|
||||
description: indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window
|
||||
returned: when RDS instance exists
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: "true"
|
||||
read_replica_source_dbinstance_identifier:
|
||||
description: the identifier of the source DB instance if this RDS instance is a read replica
|
||||
returned: when read replica RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
db_name:
|
||||
description: the name of the database to create when the DB instance is created
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "ASERTG"
|
||||
endpoint:
|
||||
description: the endpoint uri of the database instance
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "my-ansible-database.asdfaosdgih.us-east-1.rds.amazonaws.com"
|
||||
port:
|
||||
description: the listening port of the database instance
|
||||
|
@ -337,12 +337,12 @@ parameter_groups:
|
|||
parameter_apply_status:
|
||||
description: the status of parameter updates
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "in-sync"
|
||||
parameter_group_name:
|
||||
description: the name of the DP parameter group
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "testawsrpprodb01spfile-1ujg7nrs7sgyz"
|
||||
option_groups:
|
||||
description: the list of option group memberships for this RDS instance
|
||||
|
@ -352,12 +352,12 @@ option_groups:
|
|||
option_group_name:
|
||||
description: the option group name for this RDS instance
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "default:oracle-se-11-2"
|
||||
status:
|
||||
description: the status of the RDS instance's option group membership
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "in-sync"
|
||||
pending_modified_values:
|
||||
description: a dictionary of changes to the RDS instance that are pending
|
||||
|
@ -367,47 +367,47 @@ pending_modified_values:
|
|||
db_instance_class:
|
||||
description: the new DB instance class for this RDS instance that will be applied or is in progress
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
db_instance_identifier:
|
||||
description: the new DB instance identifier this RDS instance that will be applied or is in progress
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
allocated_storage:
|
||||
description: the new allocated storage size for this RDS instance that will be applied or is in progress
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
backup_retention_period:
|
||||
description: the pending number of days for which automated backups are retained
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
engine_version:
|
||||
description: indicates the database engine version
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
iops:
|
||||
description: the new provisioned IOPS value for this RDS instance that will be applied or is being applied
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
master_user_password:
|
||||
description: the pending or in-progress change of the master credentials for this RDS instance
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
multi_az:
|
||||
description: indicates that the single-AZ RDS instance is to change to a multi-AZ deployment
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
port:
|
||||
description: specifies the pending port for this RDS instance
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "null"
|
||||
db_subnet_groups:
|
||||
description: information on the subnet group associated with this RDS instance
|
||||
|
@ -417,17 +417,17 @@ db_subnet_groups:
|
|||
description:
|
||||
description: the subnet group associated with the DB instance
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "Subnets for the UAT RDS SQL DB Instance"
|
||||
name:
|
||||
description: the name of the DB subnet group
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "samplesubnetgrouprds-j6paiqkxqp4z"
|
||||
status:
|
||||
description: the status of the DB subnet group
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "complete"
|
||||
subnets:
|
||||
description: the description of the DB subnet group
|
||||
|
@ -442,22 +442,22 @@ db_subnet_groups:
|
|||
name:
|
||||
description: avaialbility zone
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "eu-west-1b"
|
||||
provisioned_iops_capable:
|
||||
description: whether provisioned iops are available in AZ subnet
|
||||
returned: when RDS instance exists
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: "false"
|
||||
identifier:
|
||||
description: the identifier of the subnet
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "subnet-3fdba63e"
|
||||
status:
|
||||
description: the status of the subnet
|
||||
returned: when RDS instance exists
|
||||
type: string
|
||||
type: str
|
||||
sample: "active"
|
||||
'''
|
||||
|
||||
|
|
|
@ -414,7 +414,7 @@ auto_minor_version_upgrade:
|
|||
availability_zone:
|
||||
description: The availability zone for the DB instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: us-east-1f
|
||||
backup_retention_period:
|
||||
description: The number of days for which automated backups are retained.
|
||||
|
@ -424,7 +424,7 @@ backup_retention_period:
|
|||
ca_certificate_identifier:
|
||||
description: The identifier of the CA certificate for the DB instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: rds-ca-2015
|
||||
copy_tags_to_snapshot:
|
||||
description: Whether tags are copied from the DB instance to snapshots of the DB instance.
|
||||
|
@ -434,17 +434,17 @@ copy_tags_to_snapshot:
|
|||
db_instance_arn:
|
||||
description: The Amazon Resource Name (ARN) for the DB instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:rds:us-east-1:123456789012:db:ansible-test
|
||||
db_instance_class:
|
||||
description: The name of the compute and memory capacity class of the DB instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: db.m4.large
|
||||
db_instance_identifier:
|
||||
description: The identifier of the DB instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ansible-test
|
||||
db_instance_port:
|
||||
description: The port that the DB instance listens on.
|
||||
|
@ -454,7 +454,7 @@ db_instance_port:
|
|||
db_instance_status:
|
||||
description: The current state of this database.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: stopped
|
||||
db_parameter_groups:
|
||||
description: The list of DB parameter groups applied to this DB instance.
|
||||
|
@ -464,12 +464,12 @@ db_parameter_groups:
|
|||
db_parameter_group_name:
|
||||
description: The name of the DP parameter group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default.mariadb10.0
|
||||
parameter_apply_status:
|
||||
description: The status of parameter updates.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in-sync
|
||||
db_security_groups:
|
||||
description: A list of DB security groups associated with this DB instance.
|
||||
|
@ -484,17 +484,17 @@ db_subnet_group:
|
|||
db_subnet_group_description:
|
||||
description: The description of the DB subnet group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default
|
||||
db_subnet_group_name:
|
||||
description: The name of the DB subnet group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default
|
||||
subnet_group_status:
|
||||
description: The status of the DB subnet group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: Complete
|
||||
subnets:
|
||||
description: A list of Subnet elements.
|
||||
|
@ -509,27 +509,27 @@ db_subnet_group:
|
|||
name:
|
||||
description: The name of the Availability Zone.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: us-east-1c
|
||||
subnet_identifier:
|
||||
description: The ID of the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-12345678
|
||||
subnet_status:
|
||||
description: The status of the subnet.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: Active
|
||||
vpc_id:
|
||||
description: The VpcId of the DB subnet group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-12345678
|
||||
dbi_resource_id:
|
||||
description: The AWS Region-unique, immutable identifier for the DB instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: db-UHV3QRNWX4KB6GALCIGRML6QFA
|
||||
domain_memberships:
|
||||
description: The Active Directory Domain membership records associated with the DB instance.
|
||||
|
@ -544,12 +544,12 @@ endpoint:
|
|||
address:
|
||||
description: The DNS address of the DB instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ansible-test.cvlrtwiennww.us-east-1.rds.amazonaws.com
|
||||
hosted_zone_id:
|
||||
description: The ID that Amazon Route 53 assigns when you create a hosted zone.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ZTR2ITUGPA61AM
|
||||
port:
|
||||
description: The port that the database engine is listening on.
|
||||
|
@ -559,12 +559,12 @@ endpoint:
|
|||
engine:
|
||||
description: The database engine version.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: mariadb
|
||||
engine_version:
|
||||
description: The database engine version.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 10.0.35
|
||||
iam_database_authentication_enabled:
|
||||
description: Whether mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled.
|
||||
|
@ -574,27 +574,27 @@ iam_database_authentication_enabled:
|
|||
instance_create_time:
|
||||
description: The date and time the DB instance was created.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2018-07-04T16:48:35.332000+00:00'
|
||||
kms_key_id:
|
||||
description: The AWS KMS key identifier for the encrypted DB instance when storage_encrypted is true.
|
||||
returned: When storage_encrypted is true
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:kms:us-east-1:123456789012:key/70c45553-ad2e-4a85-9f14-cfeb47555c33
|
||||
latest_restorable_time:
|
||||
description: The latest time to which a database can be restored with point-in-time restore.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2018-07-04T16:50:50.642000+00:00'
|
||||
license_model:
|
||||
description: The License model information for this DB instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: general-public-license
|
||||
master_username:
|
||||
description: The master username for the DB instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: test
|
||||
monitoring_interval:
|
||||
description:
|
||||
|
@ -616,12 +616,12 @@ option_group_memberships:
|
|||
option_group_name:
|
||||
description: The name of the option group that the instance belongs to.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default:mariadb-10-0
|
||||
status:
|
||||
description: The status of the DB instance's option group membership.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in-sync
|
||||
pending_modified_values:
|
||||
description: The changes to the DB instance that are pending.
|
||||
|
@ -636,12 +636,12 @@ performance_insights_enabled:
|
|||
preferred_backup_window:
|
||||
description: The daily time range during which automated backups are created if automated backups are enabled.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 07:01-07:31
|
||||
preferred_maintenance_window:
|
||||
description: The weekly time range (in UTC) during which system maintenance can occur.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sun:09:31-sun:10:01
|
||||
publicly_accessible:
|
||||
description:
|
||||
|
@ -663,7 +663,7 @@ storage_encrypted:
|
|||
storage_type:
|
||||
description: The storage type to be associated with the DB instance.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: standard
|
||||
tags:
|
||||
description: A dictionary of tags associated with the DB instance.
|
||||
|
@ -678,12 +678,12 @@ vpc_security_groups:
|
|||
status:
|
||||
description: The status of the VPC security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: active
|
||||
vpc_security_group_id:
|
||||
description: The name of the VPC security group.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sg-12345678
|
||||
'''
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ instances:
|
|||
availability_zone:
|
||||
description: Availability Zone in which the database resides
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: us-west-2b
|
||||
backup_retention_period:
|
||||
description: Days for which backups are retained
|
||||
|
@ -76,7 +76,7 @@ instances:
|
|||
ca_certificate_identifier:
|
||||
description: ID for the CA certificate
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: rds-ca-2015
|
||||
copy_tags_to_snapshot:
|
||||
description: Whether DB tags should be copied to the snapshot
|
||||
|
@ -86,17 +86,17 @@ instances:
|
|||
db_instance_arn:
|
||||
description: ARN of the database instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:rds:us-west-2:111111111111:db:helloworld-rds
|
||||
db_instance_class:
|
||||
description: Instance class of the database instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: db.t2.small
|
||||
db_instance_identifier:
|
||||
description: Database instance identifier
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: helloworld-rds
|
||||
db_instance_port:
|
||||
description: Port used by the database instance
|
||||
|
@ -106,12 +106,12 @@ instances:
|
|||
db_instance_status:
|
||||
description: Status of the database instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
db_name:
|
||||
description: Name of the database
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: management
|
||||
db_parameter_groups:
|
||||
description: List of database parameter groups
|
||||
|
@ -121,12 +121,12 @@ instances:
|
|||
db_parameter_group_name:
|
||||
description: Name of the database parameter group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: psql-pg-helloworld
|
||||
parameter_apply_status:
|
||||
description: Whether the parameter group has been applied
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in-sync
|
||||
db_security_groups:
|
||||
description: List of security groups used by the database instance
|
||||
|
@ -141,17 +141,17 @@ instances:
|
|||
db_subnet_group_description:
|
||||
description: Description of the DB subnet group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: My database subnet group
|
||||
db_subnet_group_name:
|
||||
description: Name of the database subnet group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: my-subnet-group
|
||||
subnet_group_status:
|
||||
description: Subnet group status
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: Complete
|
||||
subnets:
|
||||
description: List of subnets in the subnet group
|
||||
|
@ -166,27 +166,27 @@ instances:
|
|||
name:
|
||||
description: Name of the availability zone
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: us-west-2c
|
||||
subnet_identifier:
|
||||
description: Subnet ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: subnet-abcd1234
|
||||
subnet_status:
|
||||
description: Subnet status
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: Active
|
||||
vpc_id:
|
||||
description: VPC id of the subnet group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-abcd1234
|
||||
dbi_resource_id:
|
||||
description: AWS Region-unique, immutable identifier for the DB instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: db-AAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
domain_memberships:
|
||||
description: List of domain memberships
|
||||
|
@ -201,12 +201,12 @@ instances:
|
|||
address:
|
||||
description: Database endpoint address
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: helloworld-rds.ctrqpe3so1sf.us-west-2.rds.amazonaws.com
|
||||
hosted_zone_id:
|
||||
description: Route53 hosted zone ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: Z1PABCD0000000
|
||||
port:
|
||||
description: Database endpoint port
|
||||
|
@ -216,12 +216,12 @@ instances:
|
|||
engine:
|
||||
description: Database engine
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: postgres
|
||||
engine_version:
|
||||
description: Database engine version
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 9.5.10
|
||||
iam_database_authentication_enabled:
|
||||
description: Whether database authentication through IAM is enabled
|
||||
|
@ -231,27 +231,27 @@ instances:
|
|||
instance_create_time:
|
||||
description: Date and time the instance was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-10-10T04:00:07.434000+00:00'
|
||||
kms_key_id:
|
||||
description: KMS Key ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:kms:us-west-2:111111111111:key/abcd1234-0000-abcd-1111-0123456789ab
|
||||
latest_restorable_time:
|
||||
description: Latest time to which a database can be restored with point-in-time restore
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2018-05-17T00:03:56+00:00'
|
||||
license_model:
|
||||
description: License model
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: postgresql-license
|
||||
master_username:
|
||||
description: Database master username
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: dbadmin
|
||||
monitoring_interval:
|
||||
description: Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance
|
||||
|
@ -271,12 +271,12 @@ instances:
|
|||
option_group_name:
|
||||
description: Option group name
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default:postgres-9-5
|
||||
status:
|
||||
description: Status of option group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: in-sync
|
||||
pending_modified_values:
|
||||
description: Modified values pending application
|
||||
|
@ -291,12 +291,12 @@ instances:
|
|||
preferred_backup_window:
|
||||
description: Preferred backup window
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 04:00-05:00
|
||||
preferred_maintenance_window:
|
||||
description: Preferred maintenance window
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: mon:05:00-mon:05:30
|
||||
publicly_accessible:
|
||||
description: Whether the DB is publicly accessible
|
||||
|
@ -316,7 +316,7 @@ instances:
|
|||
storage_type:
|
||||
description: Storage type of the Database instance
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: gp2
|
||||
tags:
|
||||
description: Tags used by the database instance
|
||||
|
@ -331,12 +331,12 @@ instances:
|
|||
status:
|
||||
description: Status of the VPC security group
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: active
|
||||
vpc_security_group_id:
|
||||
description: VPC Security Group ID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: sg-abcd1234
|
||||
'''
|
||||
|
||||
|
|
|
@ -97,19 +97,19 @@ EXAMPLES = '''
|
|||
RETURN = '''
|
||||
db_parameter_group_name:
|
||||
description: Name of DB parameter group
|
||||
type: string
|
||||
type: str
|
||||
returned: when state is present
|
||||
db_parameter_group_family:
|
||||
description: DB parameter group family that this DB parameter group is compatible with.
|
||||
type: string
|
||||
type: str
|
||||
returned: when state is present
|
||||
db_parameter_group_arn:
|
||||
description: ARN of the DB parameter group
|
||||
type: string
|
||||
type: str
|
||||
returned: when state is present
|
||||
description:
|
||||
description: description of the DB parameter group
|
||||
type: string
|
||||
type: str
|
||||
returned: when state is present
|
||||
errors:
|
||||
description: list of errors from attempting to modify parameters that are not modifiable
|
||||
|
|
|
@ -78,22 +78,22 @@ snapshots:
|
|||
availability_zone:
|
||||
description: The availability zone of the database from which the snapshot was taken
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: us-west-2b
|
||||
db_instance_identifier:
|
||||
description: Database instance identifier
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: hello-world-rds
|
||||
db_snapshot_arn:
|
||||
description: Snapshot ARN
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:rds:us-west-2:111111111111:snapshot:rds:hello-world-rds-us1-2018-05-16-04-03
|
||||
db_snapshot_identifier:
|
||||
description: Snapshot name
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: rds:hello-world-rds-us1-2018-05-16-04-03
|
||||
encrypted:
|
||||
description: Whether the snapshot was encrypted
|
||||
|
@ -103,12 +103,12 @@ snapshots:
|
|||
engine:
|
||||
description: Database engine
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: postgres
|
||||
engine_version:
|
||||
description: Database engine version
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 9.5.10
|
||||
iam_database_authentication_enabled:
|
||||
description: Whether database authentication through IAM is enabled
|
||||
|
@ -118,27 +118,27 @@ snapshots:
|
|||
instance_create_time:
|
||||
description: Time the Instance was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2017-10-10T04:00:07.434000+00:00'
|
||||
kms_key_id:
|
||||
description: ID of the KMS Key encrypting the snapshot
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:kms:us-west-2:111111111111:key/abcd1234-1234-aaaa-0000-1234567890ab
|
||||
license_model:
|
||||
description: License model
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: postgresql-license
|
||||
master_username:
|
||||
description: Database master username
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: dbadmin
|
||||
option_group_name:
|
||||
description: Database option group name
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: default:postgres-9-5
|
||||
percent_progress:
|
||||
description: Perecent progress of snapshot
|
||||
|
@ -148,22 +148,22 @@ snapshots:
|
|||
snapshot_create_time:
|
||||
description: Time snapshot was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2018-05-16T04:03:33.871000+00:00'
|
||||
snapshot_type:
|
||||
description: Type of snapshot
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: automated
|
||||
status:
|
||||
description: Status of snapshot
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: available
|
||||
storage_type:
|
||||
description: Storage type of underlying DB
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: gp2
|
||||
tags:
|
||||
description: Snapshot tags
|
||||
|
@ -173,7 +173,7 @@ snapshots:
|
|||
vpc_id:
|
||||
description: ID of VPC containing the DB
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-abcd1234
|
||||
cluster_snapshots:
|
||||
description: List of cluster snapshots
|
||||
|
@ -195,32 +195,32 @@ cluster_snapshots:
|
|||
cluster_create_time:
|
||||
description: Date and time the cluster was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2018-05-17T00:13:40.223000+00:00'
|
||||
db_cluster_identifier:
|
||||
description: Database cluster identifier
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: test-aurora-cluster
|
||||
db_cluster_snapshot_arn:
|
||||
description: ARN of the database snapshot
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:rds:ca-central-1:111111111111:cluster-snapshot:test-aurora-snapshot
|
||||
db_cluster_snapshot_identifier:
|
||||
description: Snapshot identifier
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: test-aurora-snapshot
|
||||
engine:
|
||||
description: Database engine
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: aurora
|
||||
engine_version:
|
||||
description: Database engine version
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 5.6.10a
|
||||
iam_database_authentication_enabled:
|
||||
description: Whether database authentication through IAM is enabled
|
||||
|
@ -230,17 +230,17 @@ cluster_snapshots:
|
|||
kms_key_id:
|
||||
description: ID of the KMS Key encrypting the snapshot
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: arn:aws:kms:ca-central-1:111111111111:key/abcd1234-abcd-1111-aaaa-0123456789ab
|
||||
license_model:
|
||||
description: License model
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: aurora
|
||||
master_username:
|
||||
description: Database master username
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: shertel
|
||||
percent_progress:
|
||||
description: Perecent progress of snapshot
|
||||
|
@ -255,17 +255,17 @@ cluster_snapshots:
|
|||
snapshot_create_time:
|
||||
description: Date and time when the snapshot was created
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: '2018-05-17T00:23:23.731000+00:00'
|
||||
snapshot_type:
|
||||
description: Type of snapshot
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: manual
|
||||
status:
|
||||
description: Status of snapshot
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: creating
|
||||
storage_encrypted:
|
||||
description: Whether the snapshot is encrypted
|
||||
|
@ -280,7 +280,7 @@ cluster_snapshots:
|
|||
vpc_id:
|
||||
description: VPC of the database
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: vpc-abcd1234
|
||||
'''
|
||||
|
||||
|
|
|
@ -66,15 +66,15 @@ subnet_group:
|
|||
name:
|
||||
description: The name of the DB subnet group
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
description:
|
||||
description: The description of the DB subnet group
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
vpc_id:
|
||||
description: The VpcId of the DB subnet group
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
subnet_ids:
|
||||
description: Contains a list of Subnet IDs
|
||||
returned: I(state=present)
|
||||
|
@ -82,7 +82,7 @@ subnet_group:
|
|||
status:
|
||||
description: The status of the DB subnet group
|
||||
returned: I(state=present)
|
||||
type: string
|
||||
type: str
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -163,7 +163,7 @@ cluster:
|
|||
identifier:
|
||||
description: Id of the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "new_redshift_cluster"
|
||||
create_time:
|
||||
description: Time of the cluster creation as timestamp.
|
||||
|
@ -173,32 +173,32 @@ cluster:
|
|||
status:
|
||||
description: Stutus of the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "available"
|
||||
db_name:
|
||||
description: Name of the database.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "new_db_name"
|
||||
availability_zone:
|
||||
description: Amazon availability zone where the cluster is located.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "us-east-1b"
|
||||
maintenance_window:
|
||||
description: Time frame when maintenance/upgrade are done.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "sun:09:30-sun:10:00"
|
||||
private_ip_address:
|
||||
description: Private IP address of the main node.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "10.10.10.10"
|
||||
public_ip_address:
|
||||
description: Public IP address of the main node.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "0.0.0.0"
|
||||
port:
|
||||
description: Port of the cluster.
|
||||
|
@ -208,7 +208,7 @@ cluster:
|
|||
url:
|
||||
description: FQDN of the main cluster node.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "new-redshift_cluster.jfkdjfdkj.us-east-1.redshift.amazonaws.com"
|
||||
'''
|
||||
|
||||
|
|
|
@ -74,37 +74,37 @@ RETURN = '''
|
|||
cluster_identifier:
|
||||
description: Unique key to identify the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "redshift-identifier"
|
||||
node_type:
|
||||
description: The node type for nodes in the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "ds2.xlarge"
|
||||
cluster_status:
|
||||
description: Current state of the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "available"
|
||||
modify_status:
|
||||
description: The status of a modify operation.
|
||||
returned: optional
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
master_username:
|
||||
description: The master user name for the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "admin"
|
||||
db_name:
|
||||
description: The name of the initial database that was created when the cluster was created.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "dev"
|
||||
endpoint:
|
||||
description: The connection endpoint.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: {
|
||||
"address": "cluster-ds2.ocmugla0rf.us-east-1.redshift.amazonaws.com",
|
||||
"port": 5439
|
||||
|
@ -112,7 +112,7 @@ endpoint:
|
|||
cluster_create_time:
|
||||
description: The date and time that the cluster was created.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "2016-05-10T08:33:16.629000+00:00"
|
||||
automated_snapshot_retention_period:
|
||||
description: The number of days that automatic cluster snapshots are retained.
|
||||
|
@ -157,22 +157,22 @@ cluster_paramater_groups:
|
|||
cluster_subnet_group_name:
|
||||
description: The name of the subnet group that is associated with the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "redshift-subnet"
|
||||
vpc_id:
|
||||
description: The identifier of the VPC the cluster is in, if the cluster is in a VPC.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "vpc-1234567"
|
||||
availability_zone:
|
||||
description: The name of the Availability Zone in which the cluster is located.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "us-east-1b"
|
||||
preferred_maintenance_window:
|
||||
description: The weekly time range, in Universal Coordinated Time (UTC), during which system maintenance can occur.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "tue:07:30-tue:08:00"
|
||||
pending_modified_values:
|
||||
description: A value that, if present, indicates that changes to the cluster are pending.
|
||||
|
@ -182,14 +182,14 @@ pending_modified_values:
|
|||
cluster_version:
|
||||
description: The version ID of the Amazon Redshift engine that is running on the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "1.0"
|
||||
allow_version_upgrade:
|
||||
description: >
|
||||
A Boolean value that, if true, indicates that major version upgrades will be applied
|
||||
automatically to the cluster during the maintenance window.
|
||||
returned: success
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: true|false
|
||||
number_of_nodes:
|
||||
description: The number of compute nodes in the cluster.
|
||||
|
@ -199,12 +199,12 @@ number_of_nodes:
|
|||
publicly_accessible:
|
||||
description: A Boolean value that, if true , indicates that the cluster can be accessed from a public network.
|
||||
returned: success
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: true|false
|
||||
encrypted:
|
||||
description: Boolean value that, if true , indicates that data in the cluster is encrypted at rest.
|
||||
returned: success
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: true|false
|
||||
restore_status:
|
||||
description: A value that describes the status of a cluster restore action.
|
||||
|
@ -226,7 +226,7 @@ cluster_snapshot_copy_status:
|
|||
cluster_public_keys:
|
||||
description: The public key for the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "ssh-rsa anjigfam Amazon-Redshift\n"
|
||||
cluster_nodes:
|
||||
description: The nodes in the cluster.
|
||||
|
@ -252,7 +252,7 @@ elastic_ip_status:
|
|||
cluster_revision_number:
|
||||
description: The specific revision number of the database in the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "1231"
|
||||
tags:
|
||||
description: The list of tags for the cluster.
|
||||
|
@ -262,12 +262,12 @@ tags:
|
|||
kms_key_id:
|
||||
description: The AWS Key Management Service (AWS KMS) key ID of the encryption key used to encrypt data in the cluster.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: ""
|
||||
enhanced_vpc_routing:
|
||||
description: An option that specifies whether to create the cluster with enhanced VPC routing enabled.
|
||||
returned: success
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: true|false
|
||||
iam_roles:
|
||||
description: List of IAM roles attached to the cluster.
|
||||
|
|
|
@ -72,12 +72,12 @@ group:
|
|||
name:
|
||||
description: name of the Redshift subnet group
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "redshift_subnet_group_name"
|
||||
vpc_id:
|
||||
description: Id of the VPC where the subnet is located
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "vpc-aabb1122"
|
||||
'''
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue