SecurityGroupContextQuery
- class aws_cdk.cloud_assembly_schema.SecurityGroupContextQuery(*, account, region, assume_role_additional_options=None, lookup_role_arn=None, lookup_role_external_id=None, security_group_id=None, security_group_name=None, vpc_id=None)
Bases:
ContextLookupRoleOptions
Query input for looking up a security group.
- Parameters:
account (
str
) – Query account.region (
str
) – Query region.assume_role_additional_options (
Optional
[Mapping
[str
,Any
]]) – Additional options to pass to STS when assuming the lookup role. -RoleArn
should not be used. Use the dedicatedlookupRoleArn
property instead. -ExternalId
should not be used. Use the dedicatedlookupRoleExternalId
instead. Default: - No additional options.lookup_role_arn (
Optional
[str
]) – The ARN of the role that should be used to look up the missing values. Default: - Nonelookup_role_external_id (
Optional
[str
]) – The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be suppliedsecurity_group_id (
Optional
[str
]) – Security group id. Default: - Nonesecurity_group_name (
Optional
[str
]) – Security group name. Default: - Nonevpc_id (
Optional
[str
]) – VPC ID. Default: - None
Attributes
- account
Query account.
- assume_role_additional_options
Additional options to pass to STS when assuming the lookup role.
RoleArn
should not be used. Use the dedicatedlookupRoleArn
property instead.ExternalId
should not be used. Use the dedicatedlookupRoleExternalId
instead.
- Default:
No additional options.
- See:
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
- lookup_role_arn
The ARN of the role that should be used to look up the missing values.
- Default:
None
- lookup_role_external_id
The ExternalId that needs to be supplied while assuming this role.
- Default:
No ExternalId will be supplied
- region
Query region.
- security_group_id
Security group id.
- Default:
None
- security_group_name
Security group name.
- Default:
None
- vpc_id
VPC ID.
- Default:
None