@Stability(value=Stable) public static final class CfnEndpoint.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpoint>
CfnEndpoint.| Modifier and Type | Method and Description |
|---|---|
CfnEndpoint |
build() |
static CfnEndpoint.Builder |
create(software.constructs.Construct scope,
String id) |
CfnEndpoint.Builder |
description(String description)
A description for the endpoint.
|
CfnEndpoint.Builder |
eventBuses(IResolvable eventBuses)
The event buses being used by the endpoint.
|
CfnEndpoint.Builder |
eventBuses(List<? extends Object> eventBuses)
The event buses being used by the endpoint.
|
CfnEndpoint.Builder |
name(String name)
The name of the endpoint.
|
CfnEndpoint.Builder |
replicationConfig(CfnEndpoint.ReplicationConfigProperty replicationConfig)
Whether event replication was enabled or disabled for this endpoint.
|
CfnEndpoint.Builder |
replicationConfig(IResolvable replicationConfig)
Whether event replication was enabled or disabled for this endpoint.
|
CfnEndpoint.Builder |
roleArn(String roleArn)
The ARN of the role used by event replication for the endpoint.
|
CfnEndpoint.Builder |
routingConfig(CfnEndpoint.RoutingConfigProperty routingConfig)
The routing configuration of the endpoint.
|
CfnEndpoint.Builder |
routingConfig(IResolvable routingConfig)
The routing configuration of the endpoint.
|
@Stability(value=Stable) public static CfnEndpoint.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnEndpoint.EndpointEventBusProperty.Builder.@Stability(value=Stable) public CfnEndpoint.Builder eventBuses(IResolvable eventBuses)
Exactly : 2
eventBuses - The event buses being used by the endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder eventBuses(List<? extends Object> eventBuses)
Exactly : 2
eventBuses - The event buses being used by the endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder name(String name)
name - The name of the endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder routingConfig(CfnEndpoint.RoutingConfigProperty routingConfig)
routingConfig - The routing configuration of the endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder routingConfig(IResolvable routingConfig)
routingConfig - The routing configuration of the endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder description(String description)
description - A description for the endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder replicationConfig(CfnEndpoint.ReplicationConfigProperty replicationConfig)
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 .
replicationConfig - Whether event replication was enabled or disabled for this endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder replicationConfig(IResolvable replicationConfig)
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 .
replicationConfig - Whether event replication was enabled or disabled for this endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint.Builder roleArn(String roleArn)
roleArn - The ARN of the role used by event replication for the endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpoint build()
build in interface software.amazon.jsii.Builder<CfnEndpoint>Copyright © 2022. All rights reserved.