Interface ICfnEndpointProps
Properties for defining a CfnEndpoint
.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.AWS.Events.dll
Syntax (csharp)
public interface ICfnEndpointProps
Syntax (vb)
Public Interface ICfnEndpointProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html
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.Events;
var cfnEndpointProps = new CfnEndpointProps {
EventBuses = new [] { new EndpointEventBusProperty {
EventBusArn = "eventBusArn"
} },
RoutingConfig = new RoutingConfigProperty {
FailoverConfig = new FailoverConfigProperty {
Primary = new PrimaryProperty {
HealthCheck = "healthCheck"
},
Secondary = new SecondaryProperty {
Route = "route"
}
}
},
// the properties below are optional
Description = "description",
Name = "name",
ReplicationConfig = new ReplicationConfigProperty {
State = "state"
},
RoleArn = "roleArn"
};
Synopsis
Properties
Description | A description for the endpoint. |
EventBuses | The event buses being used by the endpoint. |
Name | The name of the endpoint. |
ReplicationConfig | Whether event replication was enabled or disabled for this endpoint. |
RoleArn | The ARN of the role used by event replication for the endpoint. |
RoutingConfig | The routing configuration of the endpoint. |
Properties
Description
A description for the endpoint.
virtual string Description { get; }
Property Value
System.String
Remarks
EventBuses
The event buses being used by the endpoint.
object EventBuses { get; }
Property Value
System.Object
Remarks
Name
The name of the endpoint.
virtual string Name { get; }
Property Value
System.String
Remarks
ReplicationConfig
Whether event replication was enabled or disabled for this endpoint.
virtual object ReplicationConfig { get; }
Property Value
System.Object
Remarks
The default state is ENABLED
which means you must supply a RoleArn
. If you don't have a RoleArn
or you don't want event replication enabled, set the state to DISABLED
.
RoleArn
The ARN of the role used by event replication for the endpoint.
virtual string RoleArn { get; }
Property Value
System.String
Remarks
RoutingConfig
The routing configuration of the endpoint.
object RoutingConfig { get; }
Property Value
System.Object