Procedures
Automation procedures in the AWS EC2 BDK Book.
Make sure to add the AWS EC2 BDK Book to your agent before using these automation procedures.
to attach a rule to a security group
Adds an ingress or egress rule to a security group.
Input Concepts
Concept
Description
Type
Required
Default Value
rule type
The type of rule to add (ingress or egress)
conceptual
or text
Yes
A list of IpPermission objects representing the permissions to authorize
ec2 ip permission
Yes
to get (security groups) from ec2
Gets security groups from EC2
Output Concepts
Concept
Description
security groups
A list of security groups.
to get some (security group's rules)
Gets security group rules from EC2
Input Concepts
Concept
Description
Type
Required
Default Value
Output Concepts
Concept
Description
Type
to revoke a security group rule
Revokes egress from a security group
Input Concepts
Concept
Description
Type
Required
Default Value
Last updated
Was this helpful?