CfnScopeProps
- class aws_cdk.aws_networkflowmonitor.CfnScopeProps(*, targets, tags=None)
Bases:
objectProperties for defining a
CfnScope.- Parameters:
targets (
Union[IResolvable,Sequence[Union[IResolvable,TargetResourceProperty,Dict[str,Any]]]]) – The targets for the scope.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags for the scope.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_networkflowmonitor as networkflowmonitor cfn_scope_props = networkflowmonitor.CfnScopeProps( targets=[networkflowmonitor.CfnScope.TargetResourceProperty( region="region", target_identifier=networkflowmonitor.CfnScope.TargetIdentifierProperty( target_id=networkflowmonitor.CfnScope.TargetIdProperty( account_id="accountId" ), target_type="targetType" ) )], # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- tags
The tags for the scope.
- targets
The targets for the scope.