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, IVPCEndpointConnectionNotificationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnVPCEndpointConnectionNotification Inherits CfnResource Implements IInspectable, IVPCEndpointConnectionNotificationRef, IConstruct, IDependable, IEnvironmentAware
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(Construct, string, ICfnVPCEndpointConnectionNotificationProps) | Create a new |
Properties
| AttrVpcEndpointConnectionNotificationId | The ID of the notification. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Specifies a connection notification for a VPC endpoint or VPC endpoint service. |
| 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. |
| VpcEndpointConnectionNotificationRef | A reference to a VPCEndpointConnectionNotification resource. |
| VpcEndpointId | The ID of the endpoint. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnVPCEndpointConnectionNotification(object) | Checks whether the given object is a CfnVPCEndpointConnectionNotification. |
| RenderProperties(IDictionary<string, object>) | Specifies a connection notification for a VPC endpoint or VPC endpoint service. |
Constructors
CfnVPCEndpointConnectionNotification(Construct, string, ICfnVPCEndpointConnectionNotificationProps)
Create a new AWS::EC2::VPCEndpointConnectionNotification.
public CfnVPCEndpointConnectionNotification(Construct scope, string id, ICfnVPCEndpointConnectionNotificationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnVPCEndpointConnectionNotificationProps
Resource properties.
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
Properties
AttrVpcEndpointConnectionNotificationId
The ID of the notification.
public virtual string AttrVpcEndpointConnectionNotificationId { get; }
Property Value
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
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
CfnProperties
Specifies a connection notification for a VPC endpoint or VPC endpoint service.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
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
ConnectionEvents
The endpoint events for which to receive notifications.
public virtual string[] ConnectionEvents { get; set; }
Property Value
string[]
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
ConnectionNotificationArn
The ARN of the SNS topic for the notifications.
public virtual string ConnectionNotificationArn { get; set; }
Property Value
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
ServiceId
The ID of the endpoint service.
public virtual string? ServiceId { get; set; }
Property Value
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
VpcEndpointConnectionNotificationRef
A reference to a VPCEndpointConnectionNotification resource.
public virtual IVPCEndpointConnectionNotificationReference VpcEndpointConnectionNotificationRef { get; }
Property Value
IVPCEndpointConnectionNotificationReference
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
VpcEndpointId
The ID of the endpoint.
public virtual string? VpcEndpointId { get; set; }
Property Value
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
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.
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
IsCfnVPCEndpointConnectionNotification(object)
Checks whether the given object is a CfnVPCEndpointConnectionNotification.
public static bool IsCfnVPCEndpointConnectionNotification(object x)
Parameters
- x object
Returns
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
RenderProperties(IDictionary<string, object>)
Specifies a connection notification for a VPC endpoint or VPC endpoint service.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
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