@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.855Z") @Stability(value=Stable) public class CfnDomainConfiguration extends CfnResource implements IInspectable
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()))
.validationCertificateArn("validationCertificateArn")
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnDomainConfiguration.AuthorizerConfigProperty
An object that specifies the authorization service for a domain.
|
static class |
CfnDomainConfiguration.Builder
A fluent builder for
CfnDomainConfiguration. |
static interface |
CfnDomainConfiguration.ServerCertificateSummaryProperty
An object that contains information about a server certificate.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDomainConfiguration(software.constructs.Construct scope,
String id)
Create a new `AWS::IoT::DomainConfiguration`.
|
|
CfnDomainConfiguration(software.constructs.Construct scope,
String id,
CfnDomainConfigurationProps props)
Create a new `AWS::IoT::DomainConfiguration`.
|
protected |
CfnDomainConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDomainConfiguration(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the domain configuration.
|
String |
getAttrDomainType()
The type of service delivered by the domain.
|
IResolvable |
getAttrServerCertificates()
The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake.
|
Object |
getAuthorizerConfig()
An object that specifies the authorization service for a domain.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDomainConfigurationName()
The name of the domain configuration.
|
String |
getDomainConfigurationStatus()
The status to which the domain configuration should be updated.
|
String |
getDomainName()
The name of the domain.
|
List<String> |
getServerCertificateArns()
The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake.
|
String |
getServiceType()
The type of service delivered by the endpoint.
|
TagManager |
getTags()
Metadata which can be used to manage the domain configuration.
|
String |
getValidationCertificateArn()
The certificate used to validate the server certificate and prove domain name ownership.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAuthorizerConfig(CfnDomainConfiguration.AuthorizerConfigProperty value)
An object that specifies the authorization service for a domain.
|
void |
setAuthorizerConfig(IResolvable value)
An object that specifies the authorization service for a domain.
|
void |
setDomainConfigurationName(String value)
The name of the domain configuration.
|
void |
setDomainConfigurationStatus(String value)
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 |
setValidationCertificateArn(String value)
The certificate used to validate the server certificate and prove domain name ownership.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDomainConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDomainConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDomainConfiguration(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnDomainConfigurationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnDomainConfiguration(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrDomainType()
@Stability(value=Stable) @NotNull public IResolvable getAttrServerCertificates()
Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
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..."
@Stability(value=Stable) @Nullable public Object getAuthorizerConfig()
@Stability(value=Stable)
public void setAuthorizerConfig(@Nullable
CfnDomainConfiguration.AuthorizerConfigProperty value)
@Stability(value=Stable)
public void setAuthorizerConfig(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getDomainConfigurationName()
This value must be unique to a region.
@Stability(value=Stable)
public void setDomainConfigurationName(@Nullable
String value)
This value must be unique to a region.
@Stability(value=Stable) @Nullable public String getDomainConfigurationStatus()
Valid values: ENABLED | DISABLED
@Stability(value=Stable)
public void setDomainConfigurationStatus(@Nullable
String value)
Valid values: ENABLED | DISABLED
@Stability(value=Stable) @Nullable public String getDomainName()
@Stability(value=Stable)
public void setDomainName(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getServerCertificateArns()
Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
@Stability(value=Stable)
public void setServerCertificateArns(@Nullable
List<String> value)
Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.
@Stability(value=Stable) @Nullable public String getServiceType()
AWS IoT Core currently supports only the
DATAservice type.
@Stability(value=Stable)
public void setServiceType(@Nullable
String value)
AWS IoT Core currently supports only the
DATAservice type.
@Stability(value=Stable) @Nullable public String getValidationCertificateArn()
This certificate must be signed by a public certificate authority. This value is not required for AWS -managed domains.
@Stability(value=Stable)
public void setValidationCertificateArn(@Nullable
String value)
This certificate must be signed by a public certificate authority. This value is not required for AWS -managed domains.
Copyright © 2022. All rights reserved.