Interface CfnScopeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScopeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:56.423Z")
@Stability(Stable)
public interface CfnScopeProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnScope.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkflowmonitor.*;
CfnScopeProps cfnScopeProps = CfnScopeProps.builder()
.targets(List.of(TargetResourceProperty.builder()
.region("region")
.targetIdentifier(TargetIdentifierProperty.builder()
.targetId(TargetIdProperty.builder()
.accountId("accountId")
.build())
.targetType("targetType")
.build())
.build()))
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScopePropsstatic final classAn implementation forCfnScopeProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnScopeProps.Builderbuilder()getTags()The tags for the scope.The targets for the scope.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargets
The targets for the scope.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScope.TargetResourceProperty>- See Also:
-
getTags
The tags for the scope.- See Also:
-
builder
- Returns:
- a
CfnScopeProps.BuilderofCfnScopeProps
-