@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:29:12.538Z") public class CfnDomainName extends CfnResource implements IInspectable
The AWS::AppSync::DomainName
resource creates a DomainNameConfig
object to configure a custom domain.
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.appsync.*; CfnDomainName cfnDomainName = CfnDomainName.Builder.create(this, "MyCfnDomainName") .certificateArn("certificateArn") .domainName("domainName") // the properties below are optional .description("description") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnDomainName.Builder
A fluent builder for
CfnDomainName . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnDomainName(Construct scope,
java.lang.String id,
CfnDomainNameProps props)
Create a new `AWS::AppSync::DomainName`.
|
protected |
CfnDomainName(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDomainName(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrAppSyncDomainName()
The domain name provided by AWS AppSync .
|
java.lang.String |
getAttrDomainName()
The domain name.
|
java.lang.String |
getAttrHostedZoneId()
The ID of your Amazon RouteĀ 53 hosted zone.
|
java.lang.String |
getCertificateArn()
The Amazon Resource Name (ARN) of the certificate.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
The decription for your domain name.
|
java.lang.String |
getDomainName()
The domain name.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setCertificateArn(java.lang.String value)
The Amazon Resource Name (ARN) of the certificate.
|
void |
setDescription(java.lang.String value)
The decription for your domain name.
|
void |
setDomainName(java.lang.String value)
The domain name.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnDomainName(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDomainName(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnDomainName(Construct scope, java.lang.String id, 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. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrAppSyncDomainName()
public java.lang.String getAttrDomainName()
public java.lang.String getAttrHostedZoneId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getCertificateArn()
This will be an AWS Certificate Manager certificate.
public void setCertificateArn(java.lang.String value)
This will be an AWS Certificate Manager certificate.
public java.lang.String getDomainName()
public void setDomainName(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)