Class CfnVPCEndpointConnectionNotification
Specifies a connection notification for a VPC endpoint or VPC endpoint service.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVPCEndpointConnectionNotification : CfnResource, IInspectable
Syntax (vb)
Public Class CfnVPCEndpointConnectionNotification
Inherits CfnResource
Implements IInspectable
Remarks
A connection notification notifies you of specific endpoint events. You must create an SNS topic to receive notifications. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide .
You can create a connection notification for interface endpoints only.
CloudformationResource: AWS::EC2::VPCEndpointConnectionNotification
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnVPCEndpointConnectionNotification = new CfnVPCEndpointConnectionNotification(this, "MyCfnVPCEndpointConnectionNotification", new CfnVPCEndpointConnectionNotificationProps {
ConnectionEvents = new [] { "connectionEvents" },
ConnectionNotificationArn = "connectionNotificationArn",
// the properties below are optional
ServiceId = "serviceId",
VpcEndpointId = "vpcEndpointId"
});
Synopsis
Constructors
CfnVPCEndpointConnectionNotification(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnVPCEndpointConnectionNotification(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnVPCEndpointConnectionNotification(Construct, String, ICfnVPCEndpointConnectionNotificationProps) |
Properties
AttrVpcEndpointConnectionNotificationId | The ID of the notification. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConnectionEvents | The endpoint events for which to receive notifications. |
ConnectionNotificationArn | The ARN of the SNS topic for the notifications. |
ServiceId | The ID of the endpoint service. |
VpcEndpointId | The ID of the endpoint. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnVPCEndpointConnectionNotification(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnVPCEndpointConnectionNotification(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnVPCEndpointConnectionNotification(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnVPCEndpointConnectionNotification(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnVPCEndpointConnectionNotification(Construct, String, ICfnVPCEndpointConnectionNotificationProps)
public CfnVPCEndpointConnectionNotification(Construct scope, string id, ICfnVPCEndpointConnectionNotificationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnVPCEndpointConnectionNotificationProps
Resource properties.
Properties
AttrVpcEndpointConnectionNotificationId
The ID of the notification.
public virtual string AttrVpcEndpointConnectionNotificationId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: VPCEndpointConnectionNotificationId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConnectionEvents
The endpoint events for which to receive notifications.
public virtual string[] ConnectionEvents { get; set; }
Property Value
System.String[]
ConnectionNotificationArn
The ARN of the SNS topic for the notifications.
public virtual string ConnectionNotificationArn { get; set; }
Property Value
System.String
ServiceId
The ID of the endpoint service.
public virtual string ServiceId { get; set; }
Property Value
System.String
VpcEndpointId
The ID of the endpoint.
public virtual string VpcEndpointId { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>