SecurityGroupReference

class aws_cdk.aws_ec2.SecurityGroupReference(*, security_group_id)

Bases: object

A reference to a SecurityGroup resource.

Parameters:

security_group_id (str) – The Id of the SecurityGroup resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

security_group_reference = ec2.SecurityGroupReference(
    security_group_id="securityGroupId"
)

Attributes

security_group_id

The Id of the SecurityGroup resource.