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
Modifier and TypeClassDescriptionstatic interface
An object that specifies the authorization service for a domain.static final class
A fluent builder forCfnDomainConfiguration
.static interface
An object that contains information about a server certificate.static interface
Example:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnDomainConfiguration
(Construct scope, String id) Create a newAWS::IoT::DomainConfiguration
.CfnDomainConfiguration
(Construct scope, String id, CfnDomainConfigurationProps props) Create a newAWS::IoT::DomainConfiguration
.protected
CfnDomainConfiguration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDomainConfiguration
(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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAuthorizerConfig
(IResolvable value) An object that specifies the authorization service for a domain.void
An object that specifies the authorization service for a domain.void
setDomainConfigurationName
(String value) The name of the domain configuration.void
The status to which the domain configuration should be updated.void
setDomainName
(String value) The name of the domain.void
setServerCertificateArns
(List<String> value) The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake.void
setServiceType
(String value) The type of service delivered by the endpoint.void
setTlsConfig
(IResolvable value) AWS::IoT::DomainConfiguration.TlsConfig
.void
AWS::IoT::DomainConfiguration.TlsConfig
.void
The 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, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in 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
DATA
service type. -
setServiceType
The type of service delivered by the endpoint.AWS IoT Core currently supports only the
DATA
service 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.
-