AWS EC2 (Extended)
Call any EC2 API action, including all-protocol rules
A clone of the AWS EC2 connector that adds a generic boto3 passthrough operation, so any AWS API action can be called without waiting for a curated operation…
aws-extended_1.0.0.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Fork of a Content Hub connector
An enhanced copy of AWS EC2 aws v3.2.0Original's documentation
Operations this fork adds over the original 2 of 34 total
- Generic AWS API Action
- Generic AWS Resource Action
What the author changed: Adds two generic boto3 passthrough operations (generic_action, generic_resource_action) so any AWS API action can be called without waiting for a curated operation.
Installs under its own machine name alongside the original: playbook steps that call the Content Hub original keep using it until you switch them to this fork. Differences are re-measured against the current Content Hub index at every site build, so this stays truthful as the original moves.
Configuration · 1 field
- Configuration Type
config_typeselect requiredSelect configuration type that is how you want to provide credentials.
Options IAM RoleAccess CredentialsWhen Configuration Type is IAM Role
- AWS Instance IAM Role
aws_iam_roletext requiredIAM Role of your AWS instance to access AWS services.
When Configuration Type is Access Credentials
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- AWS Access Key ID
aws_access_keytext requiredID of the AWS Access Key to access AWS services.
- AWS Secret Access Key
aws_secret_access_keypassword requiredKey of the AWS Secret Access to access AWS services.
Operations · 34
Get AMIs Detail 5 params
get_details_for_all_imagesget_details_for_all_imagesRetrieves details for all AMIs (Amazon Machine Images) or specific AMIs, based on input parameters you have specified from AWS.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Image IDs
image_idstextList of IDs of the AMIs whose details you want to retrieve from AWS EC2.
- Executable Users
executable_userstextList of AWS Account IDs of executable users(s) associated with the AMI(s) whose details you want to retrieve from AWS EC2.
- Owners
ownerstextList of AWS Account IDs of owners associated with the AMI(s) whose details you want to retrieve from AWS EC2..
- Filters
filterstextList of filters based on which you want to retrieve details of AMIs from AWS EC2.
ReturnsImagesResponseMetadataLaunch Instance 12 params
launch_instancelaunch_instanceLaunches a new instance on AWS having basic configuration based on the image ID, instance type, and other input parameters you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Image ID
image_idtext requiredID of the AMI on which you want to launch a new instance. You can get the ID of an AMI using the Get AMIs Detail operation.
- Instance Type
instance_typeselect requiredType of the instance that you want to launch on AWS EC2. For example, t1.micro
Default
t1.microOptions t1.microt2.nanot2.microt2.smallt2.mediumt2.larget2.xlarget2.2xlargem1.smallm1.mediumm1.largem1.xlargem3.mediumm3.largem3.xlargem3.2xlargem4.largem4.xlargem4.2xlargem4.4xlargem4.10xlargem4.16xlargem2.xlargem2.2xlargem2.4xlargecr1.8xlarger3.larger3.xlarger3.2xlarger3.4xlarger3.8xlarger4.larger4.xlarger4.2xlarger4.4xlarger4.8xlarger4.16xlargex1.16xlargex1.32xlargex1e.xlarge - Instance MaxCount
maxcountinteger requiredMaximum number of instances to launch on AWS EC2. If you specify a maximum that is greater than the maximum number of instances Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible number of instances above MinCount.
Default
1 - Instance MinCount
mincountinteger requiredMinimum number of instances to launch on AWS EC2. If you specify a minimum that is lesser than the minimum number of instances than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches no instances.
Default
1 - SubNet ID
subnetidtextID of the subnet associated with the network string.ID of a subnet must be provided if you don't want to use default subnet to this instance
- Device Name
device_nametext requiredName of the device. For example, /dev/sdh or xvdh.
- Instance Delete on Termination
delete_on_terminationcheckbox requiredSelect this option if you want to delete the interface when the instance is terminated.
Default
false - Security Group IDs
security_groups_listtextSD(s) of the security group(s) to be assigned to the newly launched instance on AWS EC2.
- Purpose For Launch Instance
purposetextPurpose of launching the instance on AWS EC2.
- Customer Name
customer_nametextName of the customer for whom you are requesting the launch of the new instance on AWS EC2.
- Terminate by Date
terminate_by_datetextDate on which the instance will be terminated on AWS EC2.
ReturnsResponseMetadataInstanceIdInstanceTypeGet Instance Details 2 params
describe_instancedescribe_instanceRetrieves details for an instance you have specified, using the instance ID from AWS EC2.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Instance ID
instance_idtext requiredID of the instance for which you want to retrieve details from AWS EC2.
ReturnsResponseMetadataReservationsStart Instance 3 params
start_instancestart_instanceStarts an instance you have specified using the instance ID on AWS EC2.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Instance ID
instance_idtext requiredID of the instance that you want to start on AWS EC2.
- Purpose
descriptiontextPurpose of starting the instance on AWS EC2.
ReturnsResponseMetadataStartingInstancesStop Instance 2 params
stop_instancestop_instanceStops an instance you have specified using the instance ID on AWS EC2.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Instance ID
instance_idtext requiredID of the instance that you want to stop on AWS EC2.
ReturnsStoppingInstancesResponseMetadataReboot Instance 2 params
reboot_instancereboot_instanceReboots an instance you have specified using the instance ID on AWS EC2.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Instance ID
instance_idtext requiredID of the instance that you want to reboot on AWS EC2
ReturnsResponseMetadataAdd Instance Tag 4 params
add_tag_to_instanceadd_tag_to_instanceAdds a tag to an available AWS EC2 instance you have specified using the instance ID.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Instance ID
instance_idtext requiredID of the AWS EC2 instance to which you want to add a tag.
- Tag Key
tag_keytext requiredKey for the tag that you want to add.
- Value
tag_valuetext requiredValue for the tag that you want to add.
ReturnsResponseMetadataRegister Instance To ELB 3 params
register_instance_to_elbregister_instance_to_elbRegisters an AWS EC2 instance to the elastic load balancing (ELB) service on AWS based on the ELB name and instance ID you have specified
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- ELB Name
elb_nametext requiredName of the ELB to which you want to register the specified instance on AWS EC2.
- Instance ID
instance_idtext requiredID of the instance that you want to register with the specified ELB on AWS EC2.
ReturnsInstancesResponseMetadataDeregister Instance from ELB 3 params
deregister_instance_from_elbderegister_instance_from_elbDeregisters an instance from the elastic load balancing (ELB) service based on the ELB name and instance ID you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- ELB Name
elb_nametext requiredName of the ELB from which you want to deregister the specified instance on AWS EC2.
- Instance ID
instance_idtext requiredID of the instance that you want to deregister from the specified ELB on AWS EC2.
ReturnsInstancesResponseMetadataAttach Instance To Auto Scaling Group 3 params
attach_instance_to_auto_scaling_groupattach_instance_to_auto_scaling_groupAttaches a running instance to the auto scaling group on AWS EC2 based on the auto scaling group name and instance ID (s) you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Auto Scaling Group Name
autoscaling_group_nametext requiredName of the auto scaling group to which you want to attach the specified instance on AWS EC2.
- Instance IDs (In CSV or List Format)
instance_idtext requiredID(s) of the instance(s) that you want to attach to the specified auto scaling group using the CSV or list format on AWS EC2.
ReturnsResponseMetadataDetach Instance From Auto Scaling Group 3 params
detach_instance_from_autoscaling_groupdetach_instance_from_autoscaling_groupDetaches an EC2 instance from the auto scaling group on AWS EC2 based on the auto scaling group name and instance ID (s) you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Auto Scaling Group Name (In CSV or List Format)
autoscaling_group_nametext requiredName of the auto scaling group from which you want to detach the specified instance on AWS EC2.
- Instance IDs
instance_idtext requiredID of the instance that you want to detach from the specified auto scaling group on AWS EC2.
ReturnsActivitiesResponseMetadataInstance API Termination 3 params
instance_api_terminationinstance_api_terminationTerminates an instance on AWS EC2 using the REST API, if you have enabled this operation based on the instance ID and action you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Instance ID
instance_idtext requiredID of the instance that you want to terminate on AWS EC2 using the REST API.
- Select Action
operationselect requiredSpecify Enable or Disable to either allow or disallow terminating an instance using the REST API.
Options EnableDisable
ReturnsResponseMetadataTerminate Instance 2 params
terminate_instanceterminate_instanceTerminates an AWS EC2 instance you have specified using the instance ID.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Instance ID
instance_idtext requiredID of the AWS EC2 instance that you want to terminate.
ReturnsTerminatingInstancesResponseMetadataAttach Volume 4 params
attach_volumeattach_volumeAttaches a volume to an AWS EC2 instance based on the volume ID, Device Name, and instance ID you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Volume Id
volume_idtext requiredID of the volume that you want to attach to the specified instance on AWS EC2.
- Device Name
device_nametext requiredName (or full path) of the device on the specified instance on AWS EC2. For example, /dev/sdh or xvdh.
- Instance Id
instance_idtext requiredID of the instance to which you want to attach the specified volume on AWS EC2.
ReturnsDeviceAttachTimeStateInstanceIdResponseMetadataVolumeIdCapture Volume Snapshot 3 params
snapshot_volumesnapshot_volumeCaptures a snapshot of a volume on AWS EC2 based on the volume ID and volume description you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Volume ID
volume_idtext requiredID of the volume on AWS EC2 for which you want to capture a snapshot.
- Volume Description
descriptiontext requiredDescription of the snapshot.
ReturnsStartTimeOwnerIdEncryptedSnapshotIdStateVolumeIdResponseMetadataDetach Volume 5 params
detach_volumedetach_volumeDetaches a volume from an AWS EC2 instance based on the volume ID, Device Name, and instance ID you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Volume Id
volume_idtext requiredID of the volume that you want to detach from the specified instance on AWS EC2.
- Device Name
device_nametext requiredName (or full path) of the device on the specified instance on AWS EC2. For example, /dev/sdh or xvdh.
- Instance ID
instance_idtext requiredID of the instance from which you want to detach the specified volume on AWS EC2.
- Force To Detach
forcecheckbox requiredSelect this option if you want to forcefully detach the volume from the specified instance on AWS EC2.
Default
false
ReturnsDeviceAttachTimeStateInstanceIdResponseMetadataVolumeIdDelete Volume 2 params
delete_volumedelete_volumeDeletes a volume you have specified, using the volume ID.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Volume ID
volume_idtext requiredID of the volume that you want to delete on AWS EC2.
ReturnsResponseMetadataCreate Network ACL 2 params
create_network_aclcreate_network_aclCreates a network ACL in AWS EC2 in the VPC you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- VPC ID
vpc_idtext requiredID of the VPC in which you want to create the network ACL in AWS EC2.
ReturnsNetworkAclResponseMetadataAdd Network ACL Rule 6 params
add_network_acl_ruleadd_network_acl_ruleAdds a rule to the network access control list (ACL) on AWS EC2 based on the network ACL ID, egress rule, and other input parameters you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Network ACL ID
network_acl_idtext requiredID of the network in which you want to add the ACL rule on AWS EC2.
- Egress Rule
egress_ruleselect requiredSelect either Inbound_Rule or Outbound_Rule.
Default
Inbound_RuleOptions Inbound RuleOutbound Rule - IP Address
ip_addresstext requiredIP address of the network in which you want to add the ACL rule on AWS EC2.
- Rule Action
rule_actionselect requiredAction that the rule must perform. Choose between DENY or ALLOW.
Default
DENYOptions ALLOWDENY - Rule Number
rule_numbertext requiredPosition of where the rule must be placed in the ACL rules on AWS EC2.Constraints: Positive integer from 1 to 32766
ReturnsResponseMetadataGet Details of Network ACLs 3 params
describe_network_aclsdescribe_network_aclsRetrieves details of one or more of your network ACLs from AWS EC2, based on the Network ACL IDs and filters you have specified. Note: If you do not specify any network ACL ID or any filter, then details of all the network ACLs are retrieved from AWS EC2.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Network ACL IDs
network_acl_idstextIDs of the network ACL whose details you want to retrieve from AWS EC2. Note: If you do not specify and ID then details of all the Network ACLs are retrieved from AWS EC2.
- Filters
filterstextFilters based on which you want to retrieve details for network ACL from AWS EC2. Format of the filter is: [{'Name': 'string','Values': ['string']}] For example, [{'Name': 'vpc-id','Values': ['vpc-a01106c2']}]
ReturnsNetworkAclsResponseMetadataDelete Network ACL Rule 4 params
delete_network_acl_ruledelete_network_acl_ruleDeletes the network ACL from AWS EC2, based on the network ACL ID, Egress rule, and rule number you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Network ACL ID
network_acl_idtext requiredID of the network from which you want to delete the ACL rule on AWS EC2.
- Egress Rule
egress_ruleselect requiredSelect either Inbound_Rule or Outbound_Rule.
Default
Inbound RuleOptions Inbound RuleOutbound Rule - Rule Number
rule_numbertext requiredThe rule number of the entry to delete.Constraints: Positive integer from 1 to 32766
ReturnsResponseMetadataDelete Network ACL 2 params
delete_network_acldelete_network_aclDeletes the specified network ACL. from AWS EC2, based on the Network ACL ID you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Network ACL ID
network_acl_idtext requiredID of the network ACL that you want to delete from AWS EC2.
ReturnsResponseMetadataGet User Details 2 params
describe_userdescribe_userRetrieves details for a user you have specified, using the username from AWS EC2.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Username
usernametext requiredName of the user for whom you want to retrieve details from AWS EC2.
ReturnsUserPoliciesMFADevicesUserGroupsUserNameCreateDateUserIDCreate Security Groups 3 params
create_security_groupcreate_security_groupCreates a new security group in the AWS EC2 service based on the group name and description you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Group Name
group_nametext requiredName of the new security group that you want to create on AWS EC2.
- Description
descriptiontext requiredDescription of the new security group that you want to create on AWS EC2.
ReturnsResponseMetadataGroupIdGet Security Groups 1 param
get_security_groupsget_security_groupsRetrieves details of all security groups from the AWS EC2 service.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
ReturnsResponseMetadataSecurityGroupsGet Details of Security Group 2 params
get_details_of_security_groupget_details_of_security_groupRetrieves details of the given security group from the AWS EC2 service based on the security group ID and other input parameters you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Security Group ID
security_group_idtext requiredID of the security group ID on AWS EC2 for which you want to retrieve details from AWS.
ReturnsResponseMetadataSecurityGroupsAdd Security Group To Instance 3 params
add_security_group_to_instanceadd_security_group_to_instanceAdds a security group to an AWS EC2 instance based on the security group name(s) or ID(s) and instance ID you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Instance ID
instance_idtext requiredID of the instance that you want to add to the specified Security Group(s) on AWS EC2.
- Security Group Name or ID (In CSV or List Format)
group_listtext requiredName(s) or ID(s) of the Security Group(s) to which you want to add the specified instance on AWS EC2. The Security Group ID(s) or Name(s) must be specified in the CSV or list format.For example, ["default", "launch-wizard-3", "sg-9fc7dcf7"]
ReturnsResponseDelete Security Groups 2 params
delete_security_groupdelete_security_groupDeletes a security group you have specified, using the security group ID.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Security Group ID
security_group_idtext requiredID of the security group ID that you want to delete from AWS EC2.
ReturnsstatusdataoperationmessageenvAuthorize Ingress 3 params
authorize_ingressauthorize_ingressAdds (authorizes) ingress rules to a security group on AWS EC2 based on the security group ID, CIDR IP value, and other input parameters you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Security Group ID
security_group_idtext requiredID of the security group ID on AWS EC2 in which you want to authorize (add) the ingress rule.
- IP Permissions
ip_permissionstext requiredIP permissions required to Authorize ingress rules.
ReturnsResponseMetadataAuthorize Egress 3 params
authorize_egressauthorize_egressAdds (authorizes) egress rules to a security group on AWS EC2 based on the security group ID, and IP permissions you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Security Group ID
security_group_idtext requiredID of the security group ID on AWS EC2 in which you want to authorize (add) egress rules.
- IP Permissions
ip_permissionstext requiredIP permissions required to authorize egress rules.
ReturnsResponseMetadataRevoke Egress 3 params
revoke_egressrevoke_egressRemoves (revokes) egress rules from a security group on AWS EC2 based on the security group ID, and IP permissions you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Security Group ID
security_group_idtext requiredID of the security group ID on AWS EC2 from which you want to revoke (remove) egress rules.
- IP Permissions
ip_permissionstext requiredIP permissions required to revoke egress rules.
ReturnsResponseMetadataRevoke Ingress 3 params
revoke_ingressrevoke_ingressRemoves (revokes) ingress rules from a security group on AWS EC2 based on the security group ID, CIDR IP value, and other input parameters you have specified.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- Security Group ID
security_group_idtext requiredID of the security group ID on AWS EC2 from which you want to revoke (remove) the ingress rule.
- IP Permissions
ip_permissionstext requiredIP permissions required to revoke ingress rules.
ReturnsstatusdataoperationenvmessageGeneric AWS API Action fork addition 6 params
generic_actiongeneric_actionCalls any boto3 client method on any AWS service. Supply the service, the boto3 method name, and a JSON object of keyword arguments. Passing arguments as a JSON string preserves their types, which the platform's own parameter handling does not.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- AWS Service
servicetext requiredThe boto3 service name, in lowercase, e.g. ec2, iam, s3, cloudtrail, guardduty.
- API Action
api_actiontext requiredThe boto3 client method name in snake_case, e.g. describe_instances, not the API name DescribeInstances.
- Payload
payloadtextA JSON object of keyword arguments passed straight to the boto3 method. Keep it as a JSON string: values inside a string are never retyped by the platform, so "-1" stays a string.
- Paginate Results
paginatecheckboxWalk every page of a paginated API and merge the list values, adding a PageCount. Without this a large account returns only the first page, which reads as a complete answer when it is not.
Default
false - Read Only Mode
read_onlycheckboxRefuse any API action that does not begin with describe_, get_, list_, search_, lookup_ or batch_get_. Useful when the operation is exposed to an enrichment playbook that should never mutate the account.
Default
false
Generic AWS Resource Action fork addition 6 params
generic_resource_actiongeneric_resource_actionCalls a method on a boto3 resource object rather than a client, for the AWS operations only reachable that way. Supply the resource class and its identifier, then the method and its keyword arguments.
- Assume a Role
assume_rolecheckboxSelect this option to assume a role.Note: You must enable this option, i.e., this parameter is required, if you have specified IAM Role as the Configuration Type. If you have specified Access Credentials as the Configuration Type, then this parameter is optional.If you select this option, then you must specify the following parameters: AWS Region: Your account's AWS region that you will use to access AWS services. Role ARN: ARN of the role that you want to assume to execute this action on AWS. Session Name: Name of the session that will be created to execute this action on AWS.
Default
falseWhen Assume a Role is true
- AWS Region
aws_regiontext requiredYour account's AWS region that you will use to access AWS services.
- Role ARN
role_arntext requiredARN of the role that you want assume to execute this action on AWS.
- Session Name
session_nametext requiredName of the session that will be created to execute this action on AWS.
- AWS Service
servicetext requiredThe boto3 service name, in lowercase, e.g. ec2.
- Resource Class
resource_classtext requiredThe boto3 resource class, e.g. SecurityGroup, Instance, Volume, Snapshot.
- Resource ID
resource_idtext requiredThe identifier passed to the resource class constructor.
- API Action
api_actiontext requiredThe method to call on the resource object, in snake_case.
- Payload
payloadtextA JSON object of keyword arguments passed straight to the resource method.