Class CfnDomainConfiguration
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::IoT::DomainConfiguration.
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")
.authorizerConfig(AuthorizerConfigProperty.builder()
.allowAuthorizerOverride(false)
.defaultAuthorizerName("defaultAuthorizerName")
.build())
.domainConfigurationName("domainConfigurationName")
.domainConfigurationStatus("domainConfigurationStatus")
.domainName("domainName")
.serverCertificateArns(List.of("serverCertificateArns"))
.serviceType("serviceType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.tlsConfig(TlsConfigProperty.builder()
.securityPolicy("securityPolicy")
.build())
.validationCertificateArn("validationCertificateArn")
.build();
-
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 contains information about a server certificate.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnDomainConfiguration(Construct scope, String id) Create a newAWS::IoT::DomainConfiguration.CfnDomainConfiguration(Construct scope, String id, CfnDomainConfigurationProps props) Create a newAWS::IoT::DomainConfiguration.protectedCfnDomainConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDomainConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe 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 object that specifies the authorization service for a domain.The name of the domain configuration.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 type of service delivered by the endpoint.getTags()Metadata which can be used to manage the domain configuration.AWS::IoT::DomainConfiguration.TlsConfig.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) voidsetAuthorizerConfig(IResolvable value) An object that specifies the authorization service for a domain.voidAn object that specifies the authorization service 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.voidsetServiceType(String value) The type of service delivered by the endpoint.voidsetTlsConfig(IResolvable value) AWS::IoT::DomainConfiguration.TlsConfig.voidAWS::IoT::DomainConfiguration.TlsConfig.voidThe certificate used to validate the server certificate and prove domain name ownership.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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.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 Construct scope, @NotNull String id, @Nullable CfnDomainConfigurationProps props) Create a newAWS::IoT::DomainConfiguration.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
CfnDomainConfiguration
Create a newAWS::IoT::DomainConfiguration.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
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
-
getTags
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..."
-
getAuthorizerConfig
An object that specifies the authorization service for a domain. -
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. -
getDomainConfigurationName
The name of the domain configuration.This value must be unique to a region.
-
setDomainConfigurationName
The name of the domain configuration.This value must be unique to a region.
-
getDomainConfigurationStatus
The status to which the domain configuration should be updated.Valid values:
ENABLED|DISABLED -
setDomainConfigurationStatus
The status to which the domain configuration should be updated.Valid values:
ENABLED|DISABLED -
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.Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
-
setServerCertificateArns
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.
-
getServiceType
The type of service delivered by the endpoint.AWS IoT Core currently supports only the
DATAservice type. -
setServiceType
The type of service delivered by the endpoint.AWS IoT Core currently supports only the
DATAservice type. -
getTlsConfig
AWS::IoT::DomainConfiguration.TlsConfig. -
setTlsConfig
AWS::IoT::DomainConfiguration.TlsConfig. -
setTlsConfig
@Stability(Stable) public void setTlsConfig(@Nullable CfnDomainConfiguration.TlsConfigProperty value) AWS::IoT::DomainConfiguration.TlsConfig. -
getValidationCertificateArn
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.
-
setValidationCertificateArn
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.
-