@Stability(value=Stable) public static final class CfnServiceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnServiceProps>
CfnServiceProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnServiceProps.Builder description(String description)
CfnServiceProps.getDescription()description - The description of the service.this@Stability(value=Stable) public CfnServiceProps.Builder dnsConfig(CfnService.DnsConfigProperty dnsConfig)
CfnServiceProps.getDnsConfig()dnsConfig - A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.this@Stability(value=Stable) public CfnServiceProps.Builder dnsConfig(IResolvable dnsConfig)
CfnServiceProps.getDnsConfig()dnsConfig - A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.this@Stability(value=Stable) public CfnServiceProps.Builder healthCheckConfig(CfnService.HealthCheckConfigProperty healthCheckConfig)
CfnServiceProps.getHealthCheckConfig()healthCheckConfig - *Public DNS and HTTP namespaces only.* A complex type that contains settings for an optional health check. If you specify settings for a health check, AWS Cloud Map associates the health check with the records that you specify in `DnsConfig` .
For information about the charges for health checks, see Amazon Route 53 Pricing .this@Stability(value=Stable) public CfnServiceProps.Builder healthCheckConfig(IResolvable healthCheckConfig)
CfnServiceProps.getHealthCheckConfig()healthCheckConfig - *Public DNS and HTTP namespaces only.* A complex type that contains settings for an optional health check. If you specify settings for a health check, AWS Cloud Map associates the health check with the records that you specify in `DnsConfig` .
For information about the charges for health checks, see Amazon Route 53 Pricing .this@Stability(value=Stable) public CfnServiceProps.Builder healthCheckCustomConfig(CfnService.HealthCheckCustomConfigProperty healthCheckCustomConfig)
CfnServiceProps.getHealthCheckCustomConfig()healthCheckCustomConfig - A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either
HealthCheckCustomConfigorHealthCheckConfigbut not both.
this@Stability(value=Stable) public CfnServiceProps.Builder healthCheckCustomConfig(IResolvable healthCheckCustomConfig)
CfnServiceProps.getHealthCheckCustomConfig()healthCheckCustomConfig - A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either
HealthCheckCustomConfigorHealthCheckConfigbut not both.
this@Stability(value=Stable) public CfnServiceProps.Builder name(String name)
CfnServiceProps.getName()name - The name of the service.this@Stability(value=Stable) public CfnServiceProps.Builder namespaceId(String namespaceId)
CfnServiceProps.getNamespaceId()namespaceId - The ID of the namespace that was used to create the service.
You must specify a value for
NamespaceIdeither for the service properties or for DnsConfig . Don't specify a value in both places.
this@Stability(value=Stable) public CfnServiceProps.Builder tags(List<? extends CfnTag> tags)
CfnServiceProps.getTags()tags - The tags for the service.
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.this@Stability(value=Stable) public CfnServiceProps.Builder type(String type)
CfnServiceProps.getType()type - If present, specifies that the service instances are only discoverable using the `DiscoverInstances` API operation.
No DNS records is registered for the service instances. The only valid value is HTTP .this@Stability(value=Stable) public CfnServiceProps build()
build in interface software.amazon.jsii.Builder<CfnServiceProps>CfnServicePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.