Interface CfnServiceNetworkVpcAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceNetworkVpcAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-19T18:01:43.866Z")
@Stability(Stable)
public interface CfnServiceNetworkVpcAssociationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnServiceNetworkVpcAssociation
.
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.vpclattice.*; CfnServiceNetworkVpcAssociationProps cfnServiceNetworkVpcAssociationProps = CfnServiceNetworkVpcAssociationProps.builder() .securityGroupIds(List.of("securityGroupIds")) .serviceNetworkIdentifier("serviceNetworkIdentifier") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .vpcIdentifier("vpcIdentifier") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnServiceNetworkVpcAssociationProps
static final class
An implementation forCfnServiceNetworkVpcAssociationProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecurityGroupIds
The IDs of the security groups.Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .
- See Also:
-
getServiceNetworkIdentifier
The ID or ARN of the service network.You must use an ARN if the resources are in different accounts.
- See Also:
-
getTags
The tags for the association.- See Also:
-
getVpcIdentifier
The ID of the VPC.- See Also:
-
builder
-