Class CfnServicePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin>
- Enclosing class:
CfnServicePropsMixin
CfnServicePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnServicePropsMixin.Buildercreate()static CfnServicePropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) The description of the service.dnsConfig(CfnServicePropsMixin.DnsConfigProperty 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.dnsConfig(IResolvable 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.healthCheckConfig(CfnServicePropsMixin.HealthCheckConfigProperty healthCheckConfig) Public DNS and HTTP namespaces only. A complex type that contains settings for an optional health check.healthCheckConfig(IResolvable healthCheckConfig) Public DNS and HTTP namespaces only. A complex type that contains settings for an optional health check.healthCheckCustomConfig(CfnServicePropsMixin.HealthCheckCustomConfigProperty healthCheckCustomConfig) A complex type that contains information about an optional custom health check.healthCheckCustomConfig(IResolvable healthCheckCustomConfig) A complex type that contains information about an optional custom health check.The name of the service.namespaceId(String namespaceId) The ID or Amazon Resource Name (ARN) of the namespace that you want to use to create the service.serviceAttributes(Object serviceAttributes) A complex type that contains information about attributes associated with a specific service.The tags for the service.If present, specifies that the service instances are only discoverable using theDiscoverInstancesAPI operation.
-
Method Details
-
create
@Stability(Stable) public static CfnServicePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnServicePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnServicePropsMixin.Builder.
-
description
The description of the service.- Parameters:
description- The description of the service. This parameter is required.- Returns:
this- See Also:
-
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.The record types of a service can only be changed by deleting the service and recreating it with a new
Dnsconfig.- Parameters:
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 parameter is required.- Returns:
this- See Also:
-
dnsConfig
@Stability(Stable) public CfnServicePropsMixin.Builder dnsConfig(CfnServicePropsMixin.DnsConfigProperty 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.The record types of a service can only be changed by deleting the service and recreating it with a new
Dnsconfig.- Parameters:
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 parameter is required.- Returns:
this- See Also:
-
healthCheckConfig
@Stability(Stable) public CfnServicePropsMixin.Builder healthCheckConfig(IResolvable 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 inDnsConfig.For information about the charges for health checks, see Amazon Route 53 Pricing .
- Parameters:
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 inDnsConfig. This parameter is required.- Returns:
this- See Also:
-
healthCheckConfig
@Stability(Stable) public CfnServicePropsMixin.Builder healthCheckConfig(CfnServicePropsMixin.HealthCheckConfigProperty 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 inDnsConfig.For information about the charges for health checks, see Amazon Route 53 Pricing .
- Parameters:
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 inDnsConfig. This parameter is required.- Returns:
this- See Also:
-
healthCheckCustomConfig
@Stability(Stable) public CfnServicePropsMixin.Builder healthCheckCustomConfig(IResolvable 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.- Parameters:
healthCheckCustomConfig- A complex type that contains information about an optional custom health check. This parameter is required.- Returns:
this- See Also:
-
healthCheckCustomConfig
@Stability(Stable) public CfnServicePropsMixin.Builder healthCheckCustomConfig(CfnServicePropsMixin.HealthCheckCustomConfigProperty 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.- Parameters:
healthCheckCustomConfig- A complex type that contains information about an optional custom health check. This parameter is required.- Returns:
this- See Also:
-
name
The name of the service.- Parameters:
name- The name of the service. This parameter is required.- Returns:
this- See Also:
-
namespaceId
The ID or Amazon Resource Name (ARN) of the namespace that you want to use to create the service.For namespaces shared with your AWS account, specify the namespace ARN. For more information about shared namespaces, see Cross-account AWS Cloud Map namespace sharing in the AWS Cloud Map Developer Guide .
- Parameters:
namespaceId- The ID or Amazon Resource Name (ARN) of the namespace that you want to use to create the service. This parameter is required.- Returns:
this- See Also:
-
serviceAttributes
A complex type that contains information about attributes associated with a specific service.- Parameters:
serviceAttributes- A complex type that contains information about attributes associated with a specific service. This parameter is required.- Returns:
this- See Also:
-
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.
- Parameters:
tags- The tags for the service. This parameter is required.- Returns:
this- See Also:
-
type
If present, specifies that the service instances are only discoverable using theDiscoverInstancesAPI operation.No DNS records is registered for the service instances. The only valid value is
HTTP.- Parameters:
type- If present, specifies that the service instances are only discoverable using theDiscoverInstancesAPI operation. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin>- Returns:
- a newly built instance of
CfnServicePropsMixin.
-