@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:04.748Z") @Stability(value=Stable) public class CfnDomainName extends CfnResource implements IInspectable
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.apigateway.*;
CfnDomainName cfnDomainName = CfnDomainName.Builder.create(this, "MyCfnDomainName")
.certificateArn("certificateArn")
.domainName("domainName")
.endpointConfiguration(EndpointConfigurationProperty.builder()
.types(List.of("types"))
.build())
.mutualTlsAuthentication(MutualTlsAuthenticationProperty.builder()
.truststoreUri("truststoreUri")
.truststoreVersion("truststoreVersion")
.build())
.ownershipVerificationCertificateArn("ownershipVerificationCertificateArn")
.regionalCertificateArn("regionalCertificateArn")
.securityPolicy("securityPolicy")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnDomainName.Builder
A fluent builder for
CfnDomainName. |
static interface |
CfnDomainName.EndpointConfigurationProperty
Example:
|
static interface |
CfnDomainName.MutualTlsAuthenticationProperty
Example:
|
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 |
|---|---|
|
CfnDomainName(software.constructs.Construct scope,
String id)
Create a new `AWS::ApiGateway::DomainName`.
|
|
CfnDomainName(software.constructs.Construct scope,
String id,
CfnDomainNameProps props)
Create a new `AWS::ApiGateway::DomainName`.
|
protected |
CfnDomainName(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDomainName(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrDistributionDomainName() |
String |
getAttrDistributionHostedZoneId() |
String |
getAttrRegionalDomainName() |
String |
getAttrRegionalHostedZoneId() |
String |
getCertificateArn()
`AWS::ApiGateway::DomainName.CertificateArn`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDomainName()
`AWS::ApiGateway::DomainName.DomainName`.
|
Object |
getEndpointConfiguration()
`AWS::ApiGateway::DomainName.EndpointConfiguration`.
|
Object |
getMutualTlsAuthentication()
`AWS::ApiGateway::DomainName.MutualTlsAuthentication`.
|
String |
getOwnershipVerificationCertificateArn()
`AWS::ApiGateway::DomainName.OwnershipVerificationCertificateArn`.
|
String |
getRegionalCertificateArn()
`AWS::ApiGateway::DomainName.RegionalCertificateArn`.
|
String |
getSecurityPolicy()
`AWS::ApiGateway::DomainName.SecurityPolicy`.
|
TagManager |
getTags()
`AWS::ApiGateway::DomainName.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCertificateArn(String value)
`AWS::ApiGateway::DomainName.CertificateArn`.
|
void |
setDomainName(String value)
`AWS::ApiGateway::DomainName.DomainName`.
|
void |
setEndpointConfiguration(CfnDomainName.EndpointConfigurationProperty value)
`AWS::ApiGateway::DomainName.EndpointConfiguration`.
|
void |
setEndpointConfiguration(IResolvable value)
`AWS::ApiGateway::DomainName.EndpointConfiguration`.
|
void |
setMutualTlsAuthentication(CfnDomainName.MutualTlsAuthenticationProperty value)
`AWS::ApiGateway::DomainName.MutualTlsAuthentication`.
|
void |
setMutualTlsAuthentication(IResolvable value)
`AWS::ApiGateway::DomainName.MutualTlsAuthentication`.
|
void |
setOwnershipVerificationCertificateArn(String value)
`AWS::ApiGateway::DomainName.OwnershipVerificationCertificateArn`.
|
void |
setRegionalCertificateArn(String value)
`AWS::ApiGateway::DomainName.RegionalCertificateArn`.
|
void |
setSecurityPolicy(String value)
`AWS::ApiGateway::DomainName.SecurityPolicy`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, 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 CfnDomainName(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDomainName(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDomainName(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnDomainNameProps 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 CfnDomainName(@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 getAttrDistributionDomainName()
@Stability(value=Stable) @NotNull public String getAttrDistributionHostedZoneId()
@Stability(value=Stable) @NotNull public String getAttrRegionalDomainName()
@Stability(value=Stable) @NotNull public String getAttrRegionalHostedZoneId()
@Stability(value=Stable) @Nullable public String getCertificateArn()
@Stability(value=Stable)
public void setCertificateArn(@Nullable
String value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDomainName()
@Stability(value=Stable)
public void setDomainName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getEndpointConfiguration()
@Stability(value=Stable)
public void setEndpointConfiguration(@Nullable
CfnDomainName.EndpointConfigurationProperty value)
@Stability(value=Stable)
public void setEndpointConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getMutualTlsAuthentication()
@Stability(value=Stable)
public void setMutualTlsAuthentication(@Nullable
CfnDomainName.MutualTlsAuthenticationProperty value)
@Stability(value=Stable)
public void setMutualTlsAuthentication(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getOwnershipVerificationCertificateArn()
@Stability(value=Stable)
public void setOwnershipVerificationCertificateArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getRegionalCertificateArn()
@Stability(value=Stable)
public void setRegionalCertificateArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getSecurityPolicy()
@Stability(value=Stable)
public void setSecurityPolicy(@Nullable
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.