ServiceResource / Sub-Resource / SecurityGroup
SecurityGroup#
- EC2.ServiceResource.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:
- Returns:
A SecurityGroup resource