ConsumerAuthorizationRuleProps
Properties for defining a ConsumerAuthorizationRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-consumerauthorizationrule
Initializer
import com.aliyun.ros.cdk.apig.ConsumerAuthorizationRuleProps;
ConsumerAuthorizationRuleProps.builder()
.consumerId(java.lang.String)
.consumerId(IResolvable)
.resourceIdentifier(IResolvable)
.resourceIdentifier(ResourceIdentifierProperty)
.resourceType(java.lang.String)
.resourceType(IResolvable)
// .expireMode(java.lang.String)
// .expireMode(IResolvable)
// .expireTimestamp(java.lang.Number)
// .expireTimestamp(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
consumerId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property consumerId: The consumer ID. |
resourceIdentifier | com.aliyun.ros.cdk.core.IResolvable OR ResourceIdentifierProperty | Property resourceIdentifier: Resource identifier for non-standard code sources. |
resourceType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property resourceType: The resource type. |
expireMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property expireMode: The expire mode. |
expireTimestamp | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property expireTimestamp: The expire timestamp in milliseconds. |
consumerIdRequired
public java.lang.Object getConsumerId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property consumerId: The consumer ID.
resourceIdentifierRequired
public java.lang.Object getResourceIdentifier();
- Type: com.aliyun.ros.cdk.core.IResolvable OR ResourceIdentifierProperty
Property resourceIdentifier: Resource identifier for non-standard code sources.
resourceTypeRequired
public java.lang.Object getResourceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceType: The resource type.
expireModeOptional
public java.lang.Object getExpireMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property expireMode: The expire mode.
Valid values: LongTerm, ShortTerm.
expireTimestampOptional
public java.lang.Object getExpireTimestamp();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property expireTimestamp: The expire timestamp in milliseconds.