@Stability(value=Stable) public static final class IpInstance.Builder extends Object implements software.amazon.jsii.Builder<IpInstance>
IpInstance.| Modifier and Type | Method and Description |
|---|---|
IpInstance |
build() |
static IpInstance.Builder |
create(software.constructs.Construct scope,
String id) |
IpInstance.Builder |
customAttributes(Map<String,String> customAttributes)
Custom attributes of the instance.
|
IpInstance.Builder |
instanceId(String instanceId)
The id of the instance resource.
|
IpInstance.Builder |
ipv4(String ipv4)
If the service that you specify contains a template for an A record, the IPv4 address that you want AWS Cloud Map to use for the value of the A record.
|
IpInstance.Builder |
ipv6(String ipv6)
If the service that you specify contains a template for an AAAA record, the IPv6 address that you want AWS Cloud Map to use for the value of the AAAA record.
|
IpInstance.Builder |
port(Number port)
The port on the endpoint that you want AWS Cloud Map to perform health checks on.
|
IpInstance.Builder |
service(IService service)
The Cloudmap service this resource is registered to.
|
@Stability(value=Stable) public static IpInstance.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.IpInstance.Builder.@Stability(value=Stable) public IpInstance.Builder customAttributes(Map<String,String> customAttributes)
Default: none
customAttributes - Custom attributes of the instance. This parameter is required.this@Stability(value=Stable) public IpInstance.Builder instanceId(String instanceId)
Default: Automatically generated name
instanceId - The id of the instance resource. This parameter is required.this@Stability(value=Stable) public IpInstance.Builder ipv4(String ipv4)
Default: none
ipv4 - If the service that you specify contains a template for an A record, the IPv4 address that you want AWS Cloud Map to use for the value of the A record. This parameter is required.this@Stability(value=Stable) public IpInstance.Builder ipv6(String ipv6)
Default: none
ipv6 - If the service that you specify contains a template for an AAAA record, the IPv6 address that you want AWS Cloud Map to use for the value of the AAAA record. This parameter is required.this@Stability(value=Stable) public IpInstance.Builder port(Number port)
This value is also used for the port value in an SRV record if the service that you specify includes an SRV record. You can also specify a default port that is applied to all instances in the Service configuration.
Default: 80
port - The port on the endpoint that you want AWS Cloud Map to perform health checks on. This parameter is required.this@Stability(value=Stable) public IpInstance.Builder service(IService service)
service - The Cloudmap service this resource is registered to. This parameter is required.this@Stability(value=Stable) public IpInstance build()
build in interface software.amazon.jsii.Builder<IpInstance>Copyright © 2022. All rights reserved.