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.List |
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. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
id
Required
- Type: java.lang.String
enableResourcePropertyConstraint
Optional
- Type: java.lang.Boolean
domainName
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property domainName: Domain name.
instanceId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: Instance id.
isAccessProduct
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property isAccessProduct: Is there a seven-layer agency before WAF.
sourceIps
Required
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property sourceIps: Back to source IP configuration.
clusterType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property clusterType: Cluster type.
connectionTime
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property connectionTime: Connection timeout.
http2Port
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property http2Port: Http2 port configuration.
httpPort
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property httpPort: Http port configuration.
httpsPort
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property httpsPort: Https port configuration.
httpsRedirect
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property httpsRedirect: Https forced redirect configuration.
httpToUserIp
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property httpToUserIp: Http back to source.
loadBalancing
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property loadBalancing: Load balancing configuration.
logHeaders
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
LogHeadersProperty>
Property logHeaders: Domain traffic tagging.
readTime
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property readTime: Read connection timeout period.
resourceGroupId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: Resource group Id.
writeTime
Optional
- 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.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
addCondition
public void addCondition(RosCondition condition)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDependency
public void addDependency(Resource resource)
- Type: com.aliyun.ros.cdk.core.Resource
addResourceDesc
public void addResourceDesc(java.lang.String desc)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy(RemovalPolicy policy)
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
getAtt
public IResolvable getAtt(java.lang.String name)
- Type: java.lang.String
setMetadata
public void setMetadata(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- 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.
- 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. |
node
Required
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public java.lang.String getRef();
- Type: java.lang.String
stack
Required
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resource
Optional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrClusterType
Required
public IResolvable getAttrClusterType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ClusterType: Cluster type.
attrCname
Required
public IResolvable getAttrCname();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Cname: CNAME assigned by WAF instance.
attrDomainName
Required
public IResolvable getAttrDomainName();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DomainName: Domain name.
attrHttp2Port
Required
public IResolvable getAttrHttp2Port();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Http2Port: Http2 port configuration.
attrHttpPort
Required
public IResolvable getAttrHttpPort();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HttpPort: Http port configuration.
attrHttpsPort
Required
public IResolvable getAttrHttpsPort();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HttpsPort: Https port configuration.
attrHttpsRedirect
Required
public IResolvable getAttrHttpsRedirect();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HttpsRedirect: Https forced redirect configuration.
attrHttpToUserIp
Required
public IResolvable getAttrHttpToUserIp();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HttpToUserIp: Http back to source.
attrInstanceId
Required
public IResolvable getAttrInstanceId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceId: Instance id.
attrIsAccessProduct
Required
public IResolvable getAttrIsAccessProduct();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute IsAccessProduct: Is there a seven-layer agency before WAF.
attrLoadBalancing
Required
public IResolvable getAttrLoadBalancing();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute LoadBalancing: Load balancing configuration.
attrLogHeaders
Required
public IResolvable getAttrLogHeaders();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute LogHeaders: Domain traffic tagging.
attrResourceGroupId
Required
public IResolvable getAttrResourceGroupId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceGroupId: Resource group Id.
attrSourceIps
Required
public IResolvable getAttrSourceIps();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute SourceIps: Back to source IP configuration.
attrVersion
Required
public IResolvable getAttrVersion();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Version: Optimistic lock version.