Class CfnDomainConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainConfiguration>
- Enclosing class:
CfnDomainConfiguration
CfnDomainConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionapplicationProtocol
(String applicationProtocol) authenticationType
(String authenticationType) authorizerConfig
(IResolvable authorizerConfig) An object that specifies the authorization service for a domain.authorizerConfig
(CfnDomainConfiguration.AuthorizerConfigProperty authorizerConfig) An object that specifies the authorization service for a domain.build()
clientCertificateConfig
(IResolvable clientCertificateConfig) clientCertificateConfig
(CfnDomainConfiguration.ClientCertificateConfigProperty clientCertificateConfig) domainConfigurationName
(String domainConfigurationName) The name of the domain configuration.domainConfigurationStatus
(String domainConfigurationStatus) The status to which the domain configuration should be updated.domainName
(String domainName) The name of the domain.serverCertificateArns
(List<String> serverCertificateArns) The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake.serverCertificateConfig
(IResolvable serverCertificateConfig) The server certificate configuration.serverCertificateConfig
(CfnDomainConfiguration.ServerCertificateConfigProperty serverCertificateConfig) The server certificate configuration.serviceType
(String serviceType) The type of service delivered by the endpoint.Metadata which can be used to manage the domain configuration.tlsConfig
(IResolvable tlsConfig) An object that specifies the TLS configuration for a domain.An object that specifies the TLS configuration for a domain.validationCertificateArn
(String validationCertificateArn) The certificate used to validate the server certificate and prove domain name ownership.
-
Method Details
-
create
@Stability(Stable) public static CfnDomainConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDomainConfiguration.Builder
.
-
applicationProtocol
@Stability(Stable) public CfnDomainConfiguration.Builder applicationProtocol(String applicationProtocol) - Parameters:
applicationProtocol
- This parameter is required.- Returns:
this
- See Also:
-
authenticationType
@Stability(Stable) public CfnDomainConfiguration.Builder authenticationType(String authenticationType) - Parameters:
authenticationType
- This parameter is required.- Returns:
this
- See Also:
-
authorizerConfig
@Stability(Stable) public CfnDomainConfiguration.Builder authorizerConfig(IResolvable authorizerConfig) An object that specifies the authorization service for a domain.- Parameters:
authorizerConfig
- An object that specifies the authorization service for a domain. This parameter is required.- Returns:
this
- See Also:
-
authorizerConfig
@Stability(Stable) public CfnDomainConfiguration.Builder authorizerConfig(CfnDomainConfiguration.AuthorizerConfigProperty authorizerConfig) An object that specifies the authorization service for a domain.- Parameters:
authorizerConfig
- An object that specifies the authorization service for a domain. This parameter is required.- Returns:
this
- See Also:
-
clientCertificateConfig
@Stability(Stable) public CfnDomainConfiguration.Builder clientCertificateConfig(IResolvable clientCertificateConfig) - Parameters:
clientCertificateConfig
- This parameter is required.- Returns:
this
- See Also:
-
clientCertificateConfig
@Stability(Stable) public CfnDomainConfiguration.Builder clientCertificateConfig(CfnDomainConfiguration.ClientCertificateConfigProperty clientCertificateConfig) - Parameters:
clientCertificateConfig
- This parameter is required.- Returns:
this
- See Also:
-
domainConfigurationName
@Stability(Stable) public CfnDomainConfiguration.Builder domainConfigurationName(String domainConfigurationName) The name of the domain configuration.This value must be unique to a region.
- Parameters:
domainConfigurationName
- The name of the domain configuration. This parameter is required.- Returns:
this
- See Also:
-
domainConfigurationStatus
@Stability(Stable) public CfnDomainConfiguration.Builder domainConfigurationStatus(String domainConfigurationStatus) The status to which the domain configuration should be updated.Valid values:
ENABLED
|DISABLED
- Parameters:
domainConfigurationStatus
- The status to which the domain configuration should be updated. This parameter is required.- Returns:
this
- See Also:
-
domainName
The name of the domain.- Parameters:
domainName
- The name of the domain. This parameter is required.- Returns:
this
- See Also:
-
serverCertificateArns
@Stability(Stable) public CfnDomainConfiguration.Builder serverCertificateArns(List<String> serverCertificateArns) The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake.Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
- Parameters:
serverCertificateArns
- The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. This parameter is required.- Returns:
this
- See Also:
-
serverCertificateConfig
@Stability(Stable) public CfnDomainConfiguration.Builder serverCertificateConfig(IResolvable serverCertificateConfig) The server certificate configuration.For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- Parameters:
serverCertificateConfig
- The server certificate configuration. This parameter is required.- Returns:
this
- See Also:
-
serverCertificateConfig
@Stability(Stable) public CfnDomainConfiguration.Builder serverCertificateConfig(CfnDomainConfiguration.ServerCertificateConfigProperty serverCertificateConfig) The server certificate configuration.For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
- Parameters:
serverCertificateConfig
- The server certificate configuration. This parameter is required.- Returns:
this
- See Also:
-
serviceType
The type of service delivered by the endpoint.AWS IoT Core currently supports only the
DATA
service type.- Parameters:
serviceType
- The type of service delivered by the endpoint. This parameter is required.- Returns:
this
- See Also:
-
tags
Metadata which can be used to manage the domain configuration.For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
- Parameters:
tags
- Metadata which can be used to manage the domain configuration. This parameter is required.- Returns:
this
- See Also:
-
tlsConfig
An object that specifies the TLS configuration for a domain.- Parameters:
tlsConfig
- An object that specifies the TLS configuration for a domain. This parameter is required.- Returns:
this
- See Also:
-
tlsConfig
@Stability(Stable) public CfnDomainConfiguration.Builder tlsConfig(CfnDomainConfiguration.TlsConfigProperty tlsConfig) An object that specifies the TLS configuration for a domain.- Parameters:
tlsConfig
- An object that specifies the TLS configuration for a domain. This parameter is required.- Returns:
this
- See Also:
-
validationCertificateArn
@Stability(Stable) public CfnDomainConfiguration.Builder validationCertificateArn(String validationCertificateArn) The certificate used to validate the server certificate and prove domain name ownership.This certificate must be signed by a public certificate authority. This value is not required for AWS -managed domains.
- Parameters:
validationCertificateArn
- The certificate used to validate the server certificate and prove domain name ownership. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomainConfiguration>
- Returns:
- a newly built instance of
CfnDomainConfiguration
.
-