Skip to content

Domain

This class encapsulates and extends the ROS resource type ALIYUN::WAF::Domain, which is used to add a domain to Web Application Firewall (WAF).

Initializers

import com.aliyun.ros.cdk.waf.Domain;
Domain.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .domainName(java.lang.String)
    .domainName(IResolvable)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .isAccessProduct(java.lang.String)
    .isAccessProduct(IResolvable)
    .sourceIps(IResolvable)
    .sourceIps(java.util.List<java.lang.String)
    .sourceIps(IResolvable>)
//  .clusterType(java.lang.String)
//  .clusterType(IResolvable)
//  .connectionTime(java.lang.Number)
//  .connectionTime(IResolvable)
//  .http2Port(IResolvable)
//  .http2Port(java.util.List<java.lang.String)
//  .http2Port(IResolvable>)
//  .httpPort(IResolvable)
//  .httpPort(java.util.List<java.lang.String)
//  .httpPort(IResolvable>)
//  .httpsPort(IResolvable)
//  .httpsPort(java.util.List<java.lang.String)
//  .httpsPort(IResolvable>)
//  .httpsRedirect(java.lang.String)
//  .httpsRedirect(IResolvable)
//  .httpToUserIp(java.lang.String)
//  .httpToUserIp(IResolvable)
//  .loadBalancing(java.lang.String)
//  .loadBalancing(IResolvable)
//  .logHeaders(IResolvable)
//  .logHeaders(java.util.List<IResolvable)
//  .logHeaders(LogHeadersProperty>)
//  .readTime(java.lang.Number)
//  .readTime(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .writeTime(java.lang.Number)
//  .writeTime(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
domainName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property domainName: Domain name.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: Instance id.
isAccessProduct java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property isAccessProduct: Is there a seven-layer agency before WAF.
sourceIps com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property sourceIps: Back to source IP configuration.
clusterType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterType: Cluster type.
connectionTime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property connectionTime: Connection timeout.
http2Port com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property http2Port: Http2 port configuration.
httpPort com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property httpPort: Http port configuration.
httpsPort com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property httpsPort: Https port configuration.
httpsRedirect java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property httpsRedirect: Https forced redirect configuration.
httpToUserIp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property httpToUserIp: Http back to source.
loadBalancing java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property loadBalancing: Load balancing configuration.
logHeaders com.aliyun.ros.cdk.core.IResolvable OR java.util.ListLogHeadersProperty> Property logHeaders: Domain traffic tagging.
readTime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property readTime: Read connection timeout period.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group Id.
writeTime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property writeTime: Write connection timeout period.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

domainNameRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property domainName: Domain name.


instanceIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceId: Instance id.


isAccessProductRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property isAccessProduct: Is there a seven-layer agency before WAF.


sourceIpsRequired

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property sourceIps: Back to source IP configuration.


clusterTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterType: Cluster type.


connectionTimeOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property connectionTime: Connection timeout.


http2PortOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property http2Port: Http2 port configuration.


httpPortOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property httpPort: Http port configuration.


httpsPortOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property httpsPort: Https port configuration.


httpsRedirectOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property httpsRedirect: Https forced redirect configuration.


httpToUserIpOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property httpToUserIp: Http back to source.


loadBalancingOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property loadBalancing: Load balancing configuration.


logHeadersOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListLogHeadersProperty>

Property logHeaders: Domain traffic tagging.


readTimeOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property readTime: Read connection timeout period.


resourceGroupIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: Resource group Id.


writeTimeOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property writeTime: Write connection timeout period.


Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.waf.Domain;
Domain.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrClusterType com.aliyun.ros.cdk.core.IResolvable Attribute ClusterType: Cluster type.
attrCname com.aliyun.ros.cdk.core.IResolvable Attribute Cname: CNAME assigned by WAF instance.
attrDomainName com.aliyun.ros.cdk.core.IResolvable Attribute DomainName: Domain name.
attrHttp2Port com.aliyun.ros.cdk.core.IResolvable Attribute Http2Port: Http2 port configuration.
attrHttpPort com.aliyun.ros.cdk.core.IResolvable Attribute HttpPort: Http port configuration.
attrHttpsPort com.aliyun.ros.cdk.core.IResolvable Attribute HttpsPort: Https port configuration.
attrHttpsRedirect com.aliyun.ros.cdk.core.IResolvable Attribute HttpsRedirect: Https forced redirect configuration.
attrHttpToUserIp com.aliyun.ros.cdk.core.IResolvable Attribute HttpToUserIp: Http back to source.
attrInstanceId com.aliyun.ros.cdk.core.IResolvable Attribute InstanceId: Instance id.
attrIsAccessProduct com.aliyun.ros.cdk.core.IResolvable Attribute IsAccessProduct: Is there a seven-layer agency before WAF.
attrLoadBalancing com.aliyun.ros.cdk.core.IResolvable Attribute LoadBalancing: Load balancing configuration.
attrLogHeaders com.aliyun.ros.cdk.core.IResolvable Attribute LogHeaders: Domain traffic tagging.
attrResourceGroupId com.aliyun.ros.cdk.core.IResolvable Attribute ResourceGroupId: Resource group Id.
attrSourceIps com.aliyun.ros.cdk.core.IResolvable Attribute SourceIps: Back to source IP configuration.
attrVersion com.aliyun.ros.cdk.core.IResolvable Attribute Version: Optimistic lock version.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrClusterTypeRequired

public IResolvable getAttrClusterType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ClusterType: Cluster type.


attrCnameRequired

public IResolvable getAttrCname();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Cname: CNAME assigned by WAF instance.


attrDomainNameRequired

public IResolvable getAttrDomainName();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DomainName: Domain name.


attrHttp2PortRequired

public IResolvable getAttrHttp2Port();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Http2Port: Http2 port configuration.


attrHttpPortRequired

public IResolvable getAttrHttpPort();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute HttpPort: Http port configuration.


attrHttpsPortRequired

public IResolvable getAttrHttpsPort();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute HttpsPort: Https port configuration.


attrHttpsRedirectRequired

public IResolvable getAttrHttpsRedirect();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute HttpsRedirect: Https forced redirect configuration.


attrHttpToUserIpRequired

public IResolvable getAttrHttpToUserIp();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute HttpToUserIp: Http back to source.


attrInstanceIdRequired

public IResolvable getAttrInstanceId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceId: Instance id.


attrIsAccessProductRequired

public IResolvable getAttrIsAccessProduct();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute IsAccessProduct: Is there a seven-layer agency before WAF.


attrLoadBalancingRequired

public IResolvable getAttrLoadBalancing();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute LoadBalancing: Load balancing configuration.


attrLogHeadersRequired

public IResolvable getAttrLogHeaders();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute LogHeaders: Domain traffic tagging.


attrResourceGroupIdRequired

public IResolvable getAttrResourceGroupId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ResourceGroupId: Resource group Id.


attrSourceIpsRequired

public IResolvable getAttrSourceIps();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute SourceIps: Back to source IP configuration.


attrVersionRequired

public IResolvable getAttrVersion();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Version: Optimistic lock version.