Class CfnVPCEndpointConnectionNotification.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPCEndpointConnectionNotification.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEndpointConnectionNotification>
- Enclosing class:
CfnVPCEndpointConnectionNotification
@Stability(Stable)
public static final class CfnVPCEndpointConnectionNotification.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEndpointConnectionNotification>
A fluent builder for
CfnVPCEndpointConnectionNotification.-
Method Summary
Modifier and TypeMethodDescriptionbuild()connectionEvents(List<String> connectionEvents) The endpoint events for which to receive notifications.connectionNotificationArn(String connectionNotificationArn) The ARN of the SNS topic for the notifications.The ID of the endpoint service.vpcEndpointId(String vpcEndpointId) The ID of the endpoint.
-
Method Details
-
create
@Stability(Stable) public static CfnVPCEndpointConnectionNotification.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVPCEndpointConnectionNotification.Builder.
-
connectionEvents
@Stability(Stable) public CfnVPCEndpointConnectionNotification.Builder connectionEvents(List<String> connectionEvents) The endpoint events for which to receive notifications.Valid values are
Accept,Connect,Delete, andReject.- Parameters:
connectionEvents- The endpoint events for which to receive notifications. This parameter is required.- Returns:
this- See Also:
-
connectionNotificationArn
@Stability(Stable) public CfnVPCEndpointConnectionNotification.Builder connectionNotificationArn(String connectionNotificationArn) The ARN of the SNS topic for the notifications.- Parameters:
connectionNotificationArn- The ARN of the SNS topic for the notifications. This parameter is required.- Returns:
this- See Also:
-
serviceId
The ID of the endpoint service.- Parameters:
serviceId- The ID of the endpoint service. This parameter is required.- Returns:
this- See Also:
-
vpcEndpointId
@Stability(Stable) public CfnVPCEndpointConnectionNotification.Builder vpcEndpointId(String vpcEndpointId) The ID of the endpoint.- Parameters:
vpcEndpointId- The ID of the endpoint. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCEndpointConnectionNotification>- Returns:
- a newly built instance of
CfnVPCEndpointConnectionNotification.
-