Gateway
This class encapsulates and extends the ROS resource type ALIYUN::APIG::Gateway
.
Initializers
import com.aliyun.ros.cdk.apig.Gateway;
Gateway.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.paymentType(java.lang.String)
.paymentType(IResolvable)
.spec(java.lang.String)
.spec(IResolvable)
.zoneConfig(IResolvable)
.zoneConfig(ZoneConfigProperty)
// .gatewayName(java.lang.String)
// .gatewayName(IResolvable)
// .logConfig(IResolvable)
// .logConfig(LogConfigProperty)
// .networkAccessConfig(IResolvable)
// .networkAccessConfig(NetworkAccessConfigProperty)
// .vpc(IResolvable)
// .vpc(VpcProperty)
// .vSwitch(IResolvable)
// .vSwitch(VSwitchProperty)
.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. |
paymentType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property paymentType: The payment type of the gateway. |
spec |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property spec: Gateway instance specifications. |
zoneConfig |
com.aliyun.ros.cdk.core.IResolvable OR ZoneConfigProperty |
Property zoneConfig: Availability Zone Configuration. |
gatewayName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property gatewayName: The name of the Gateway. |
logConfig |
com.aliyun.ros.cdk.core.IResolvable OR LogConfigProperty |
Property logConfig: Log Configuration. |
networkAccessConfig |
com.aliyun.ros.cdk.core.IResolvable OR NetworkAccessConfigProperty |
Property networkAccessConfig: Network Access Configuration. |
vpc |
com.aliyun.ros.cdk.core.IResolvable OR VpcProperty |
Property vpc: The VPC associated with the Gateway. |
vSwitch |
com.aliyun.ros.cdk.core.IResolvable OR VSwitchProperty |
Property vSwitch: The virtual switch associated with the Gateway. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
id
Required
- Type: java.lang.String
enableResourcePropertyConstraint
Optional
- Type: java.lang.Boolean
paymentType
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property paymentType: The payment type of the gateway.
Valid values:
- PayAsYouGo
- Subscription
spec
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property spec: Gateway instance specifications.
zoneConfig
Required
- Type: com.aliyun.ros.cdk.core.IResolvable OR ZoneConfigProperty
Property zoneConfig: Availability Zone Configuration.
gatewayName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property gatewayName: The name of the Gateway.
logConfig
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR LogConfigProperty
Property logConfig: Log Configuration.
networkAccessConfig
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR NetworkAccessConfigProperty
Property networkAccessConfig: Network Access Configuration.
vpc
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR VpcProperty
Property vpc: The VPC associated with the Gateway.
vSwitch
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR VSwitchProperty
Property vSwitch: The virtual switch associated with the Gateway.
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.apig.Gateway;
Gateway.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. |
attrCreateTime |
com.aliyun.ros.cdk.core.IResolvable |
Attribute CreateTime: The creation timestamp. |
attrEnvironments |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Environments: The list of environments associated with the Gateway. |
attrExpireTime |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ExpireTime: Package year and package month expiration timestamp. |
attrGatewayId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute GatewayId: The ID of the Gateway. |
attrGatewayName |
com.aliyun.ros.cdk.core.IResolvable |
Attribute GatewayName: The name of the resource. |
attrLoadBalancers |
com.aliyun.ros.cdk.core.IResolvable |
Attribute LoadBalancers: The list of Gateway ingress addresses. |
attrPaymentType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute PaymentType: The payment type of the gateway. |
attrSecurityGroup |
com.aliyun.ros.cdk.core.IResolvable |
Attribute SecurityGroup: The Security Group of the Gateway. |
attrSpec |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Spec: Gateway instance specifications. |
attrUpdateTime |
com.aliyun.ros.cdk.core.IResolvable |
Attribute UpdateTime: Update the timestamp. |
attrVersion |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Version: The gateway version. |
attrVpc |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Vpc: The VPC associated with the Gateway. |
attrVSwitch |
com.aliyun.ros.cdk.core.IResolvable |
Attribute VSwitch: The virtual switch associated with the Gateway. |
attrZones |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Zones: The List of zones associated with the Gateway. |
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
attrCreateTime
Required
public IResolvable getAttrCreateTime();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: The creation timestamp.
Unit: milliseconds.
attrEnvironments
Required
public IResolvable getAttrEnvironments();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Environments: The list of environments associated with the Gateway.
attrExpireTime
Required
public IResolvable getAttrExpireTime();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ExpireTime: Package year and package month expiration timestamp.
Unit: milliseconds.
attrGatewayId
Required
public IResolvable getAttrGatewayId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute GatewayId: The ID of the Gateway.
attrGatewayName
Required
public IResolvable getAttrGatewayName();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute GatewayName: The name of the resource.
attrLoadBalancers
Required
public IResolvable getAttrLoadBalancers();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute LoadBalancers: The list of Gateway ingress addresses.
attrPaymentType
Required
public IResolvable getAttrPaymentType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute PaymentType: The payment type of the gateway.
attrSecurityGroup
Required
public IResolvable getAttrSecurityGroup();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute SecurityGroup: The Security Group of the Gateway.
attrSpec
Required
public IResolvable getAttrSpec();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Spec: Gateway instance specifications.
attrUpdateTime
Required
public IResolvable getAttrUpdateTime();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute UpdateTime: Update the timestamp.
Unit: milliseconds.
attrVersion
Required
public IResolvable getAttrVersion();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Version: The gateway version.
attrVpc
Required
public IResolvable getAttrVpc();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Vpc: The VPC associated with the Gateway.
attrVSwitch
Required
public IResolvable getAttrVSwitch();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute VSwitch: The virtual switch associated with the Gateway.
attrZones
Required
public IResolvable getAttrZones();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Zones: The List of zones associated with the Gateway.