Class CfnDomainConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.iot.CfnDomainConfiguration
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggable,IDomainConfigurationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:07.559Z")
@Stability(Stable)
public class CfnDomainConfiguration
extends CfnResource
implements IInspectable, IDomainConfigurationRef, ITaggable
Specifies a domain configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnDomainConfiguration cfnDomainConfiguration = CfnDomainConfiguration.Builder.create(this, "MyCfnDomainConfiguration")
.applicationProtocol("applicationProtocol")
.authenticationType("authenticationType")
.authorizerConfig(AuthorizerConfigProperty.builder()
.allowAuthorizerOverride(false)
.defaultAuthorizerName("defaultAuthorizerName")
.build())
.clientCertificateConfig(ClientCertificateConfigProperty.builder()
.clientCertificateCallbackArn("clientCertificateCallbackArn")
.build())
.domainConfigurationName("domainConfigurationName")
.domainConfigurationStatus("domainConfigurationStatus")
.domainName("domainName")
.serverCertificateArns(List.of("serverCertificateArns"))
.serverCertificateConfig(ServerCertificateConfigProperty.builder()
.enableOcspCheck(false)
.ocspAuthorizedResponderArn("ocspAuthorizedResponderArn")
.ocspLambdaArn("ocspLambdaArn")
.build())
.serviceType("serviceType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.tlsConfig(TlsConfigProperty.builder()
.securityPolicy("securityPolicy")
.build())
.validationCertificateArn("validationCertificateArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn object that specifies the authorization service for a domain.static final classA fluent builder forCfnDomainConfiguration.static interfaceAn object that specifies the client certificate configuration for a domain.static interfaceThe server certificate configuration.static interfaceAn object that contains information about a server certificate.static interfaceAn object that specifies the TLS configuration for a domain.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.iot.IDomainConfigurationRef
IDomainConfigurationRef.Jsii$Default, IDomainConfigurationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDomainConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDomainConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnDomainConfiguration(software.constructs.Construct scope, String id) CfnDomainConfiguration(software.constructs.Construct scope, String id, CfnDomainConfigurationProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IDomainConfigurationReffromDomainConfigurationArn(software.constructs.Construct scope, String id, String arn) Creates a new IDomainConfigurationRef from an ARN.static IDomainConfigurationReffromDomainConfigurationName(software.constructs.Construct scope, String id, String domainConfigurationName) Creates a new IDomainConfigurationRef from a domainConfigurationName.An enumerated string that specifies the application-layer protocol.The Amazon Resource Name (ARN) of the domain configuration.The type of service delivered by the domain.The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake.An enumerated string that specifies the authentication type.An object that specifies the authorization service for a domain.An object that specifies the client certificate configuration for a domain.The name of the domain configuration.A reference to a DomainConfiguration resource.The status to which the domain configuration should be updated.The name of the domain.The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake.The server certificate configuration.The type of service delivered by the endpoint.getTags()Tag Manager which manages the tags for this resource.Metadata which can be used to manage the domain configuration.An object that specifies the TLS configuration for a domain.The certificate used to validate the server certificate and prove domain name ownership.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetApplicationProtocol(String value) An enumerated string that specifies the application-layer protocol.voidsetAuthenticationType(String value) An enumerated string that specifies the authentication type.voidsetAuthorizerConfig(IResolvable value) An object that specifies the authorization service for a domain.voidAn object that specifies the authorization service for a domain.voidAn object that specifies the client certificate configuration for a domain.voidAn object that specifies the client certificate configuration for a domain.voidsetDomainConfigurationName(String value) The name of the domain configuration.voidThe status to which the domain configuration should be updated.voidsetDomainName(String value) The name of the domain.voidsetServerCertificateArns(List<String> value) The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake.voidThe server certificate configuration.voidThe server certificate configuration.voidsetServiceType(String value) The type of service delivered by the endpoint.voidsetTagsRaw(List<CfnTag> value) Metadata which can be used to manage the domain configuration.voidsetTlsConfig(IResolvable value) An object that specifies the TLS configuration for a domain.voidAn object that specifies the TLS configuration for a domain.voidThe certificate used to validate the server certificate and prove domain name ownership.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDomainConfiguration
protected CfnDomainConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDomainConfiguration
protected CfnDomainConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDomainConfiguration
@Stability(Stable) public CfnDomainConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDomainConfigurationProps props) - 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.props- Resource properties.
-
CfnDomainConfiguration
@Stability(Stable) public CfnDomainConfiguration(@NotNull software.constructs.Construct scope, @NotNull 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.
-
-
Method Details
-
fromDomainConfigurationArn
@Stability(Stable) @NotNull public static IDomainConfigurationRef fromDomainConfigurationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IDomainConfigurationRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromDomainConfigurationName
@Stability(Stable) @NotNull public static IDomainConfigurationRef fromDomainConfigurationName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String domainConfigurationName) Creates a new IDomainConfigurationRef from a domainConfigurationName.- Parameters:
scope- This parameter is required.id- This parameter is required.domainConfigurationName- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the domain configuration. -
getAttrDomainType
The type of service delivered by the domain. -
getAttrServerCertificates
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.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDomainConfigurationRef
A reference to a DomainConfiguration resource.- Specified by:
getDomainConfigurationRefin interfaceIDomainConfigurationRef
-
getTags
Tag Manager which manages the tags for this resource. -
getApplicationProtocol
An enumerated string that specifies the application-layer protocol. -
setApplicationProtocol
An enumerated string that specifies the application-layer protocol. -
getAuthenticationType
An enumerated string that specifies the authentication type. -
setAuthenticationType
An enumerated string that specifies the authentication type. -
getAuthorizerConfig
An object that specifies the authorization service for a domain.Returns union: either
IResolvableorCfnDomainConfiguration.AuthorizerConfigProperty -
setAuthorizerConfig
An object that specifies the authorization service for a domain. -
setAuthorizerConfig
@Stability(Stable) public void setAuthorizerConfig(@Nullable CfnDomainConfiguration.AuthorizerConfigProperty value) An object that specifies the authorization service for a domain. -
getClientCertificateConfig
An object that specifies the client certificate configuration for a domain.Returns union: either
IResolvableorCfnDomainConfiguration.ClientCertificateConfigProperty -
setClientCertificateConfig
An object that specifies the client certificate configuration for a domain. -
setClientCertificateConfig
@Stability(Stable) public void setClientCertificateConfig(@Nullable CfnDomainConfiguration.ClientCertificateConfigProperty value) An object that specifies the client certificate configuration for a domain. -
getDomainConfigurationName
The name of the domain configuration. -
setDomainConfigurationName
The name of the domain configuration. -
getDomainConfigurationStatus
The status to which the domain configuration should be updated. -
setDomainConfigurationStatus
The status to which the domain configuration should be updated. -
getDomainName
The name of the domain. -
setDomainName
The name of the domain. -
getServerCertificateArns
The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. -
setServerCertificateArns
The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. -
getServerCertificateConfig
The server certificate configuration.Returns union: either
IResolvableorCfnDomainConfiguration.ServerCertificateConfigProperty -
setServerCertificateConfig
The server certificate configuration. -
setServerCertificateConfig
@Stability(Stable) public void setServerCertificateConfig(@Nullable CfnDomainConfiguration.ServerCertificateConfigProperty value) The server certificate configuration. -
getServiceType
The type of service delivered by the endpoint. -
setServiceType
The type of service delivered by the endpoint. -
getTagsRaw
Metadata which can be used to manage the domain configuration. -
setTagsRaw
Metadata which can be used to manage the domain configuration. -
getTlsConfig
An object that specifies the TLS configuration for a domain.Returns union: either
IResolvableorCfnDomainConfiguration.TlsConfigProperty -
setTlsConfig
An object that specifies the TLS configuration for a domain. -
setTlsConfig
@Stability(Stable) public void setTlsConfig(@Nullable CfnDomainConfiguration.TlsConfigProperty value) An object that specifies the TLS configuration for a domain. -
getValidationCertificateArn
The certificate used to validate the server certificate and prove domain name ownership. -
setValidationCertificateArn
The certificate used to validate the server certificate and prove domain name ownership.
-