Procedures

Automation procedures in the AWS EC2 BDK Book.

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

A security group to authorize

ec2 security group

Yes

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

FILTER - CAPABLE

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

The security group to get rules for.

ec2 security group

Yes

Output Concepts

Concept
Description
Type

A list of security group rules.

ec2 security group rule

to revoke a security group rule

Revokes egress from a security group

Input Concepts

Concept
Description
Type
Required
Default Value

A security group rule to be revoked

ec2 security group rule

Yes

Last updated

Was this helpful?