Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

SecurityGroup

SecurityGroup(id)

Creates a SecurityGroup resource.:

security_group = ec2.SecurityGroup('id')
Parameters
id (string) -- The SecurityGroup's id identifier. This must be set.
Return type
EC2.SecurityGroup
Returns
A SecurityGroup resource