Skip to content

ConsumerAuthorizationRuleProps

Properties for defining a ConsumerAuthorizationRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-consumerauthorizationrule

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig"
&alicloudroscdkapig.ConsumerAuthorizationRuleProps {
    ConsumerId: interface{},
    ResourceIdentifier: interface{},
    ResourceType: interface{},
    ExpireMode: interface{},
    ExpireTimestamp: interface{},
}

Properties

Name Type Description
ConsumerId interface{} Property consumerId: The consumer ID.
ResourceIdentifier interface{} Property resourceIdentifier: Resource identifier for non-standard code sources.
ResourceType interface{} Property resourceType: The resource type.
ExpireMode interface{} Property expireMode: The expire mode.
ExpireTimestamp interface{} Property expireTimestamp: The expire timestamp in milliseconds.

ConsumerIdRequired

ConsumerId interface{}
  • Type: interface{}

Property consumerId: The consumer ID.


ResourceIdentifierRequired

ResourceIdentifier interface{}
  • Type: interface{}

Property resourceIdentifier: Resource identifier for non-standard code sources.


ResourceTypeRequired

ResourceType interface{}
  • Type: interface{}

Property resourceType: The resource type.


ExpireModeOptional

ExpireMode interface{}
  • Type: interface{}

Property expireMode: The expire mode.

Valid values: LongTerm, ShortTerm.


ExpireTimestampOptional

ExpireTimestamp interface{}
  • Type: interface{}

Property expireTimestamp: The expire timestamp in milliseconds.