Interface CfnSourceNetworkProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSourceNetworkProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:07.868Z")
@Stability(Stable)
public interface CfnSourceNetworkProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSourceNetwork.
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.drs.*;
CfnSourceNetworkProps cfnSourceNetworkProps = CfnSourceNetworkProps.builder()
.originAccountId("originAccountId")
.originRegion("originRegion")
.vpcId("vpcId")
// 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 forCfnSourceNetworkPropsstatic final classAn implementation forCfnSourceNetworkProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOriginAccountId
The account ID containing the VPC to protect.- See Also:
-
getOriginRegion
The region containing the VPC to protect.- See Also:
-
getVpcId
The VPC ID to protect.- See Also:
-
getTags
A set of tags associated with the Source Network.- See Also:
-
builder
- Returns:
- a
CfnSourceNetworkProps.BuilderofCfnSourceNetworkProps
-