Skip to content

PolicyProps

Properties for defining a Policy.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig"
&alicloudroscdkapig.PolicyProps {
    AttachResourceIds: interface{},
    AttachResourceType: interface{},
    EnvironmentId: interface{},
    GatewayId: interface{},
    PolicyClassName: interface{},
    PolicyConfig: interface{},
    PolicyName: interface{},
}

Properties

Name Type Description
AttachResourceIds interface{} Property attachResourceIds: The Mount point id list.
AttachResourceType interface{} Property attachResourceType: Policies support mount point types.
EnvironmentId interface{} Property environmentId: The id of the environment.
GatewayId interface{} Property gatewayId: The ID of the Gateway.
PolicyClassName interface{} Property policyClassName: The name of the policy class.
PolicyConfig interface{} Property policyConfig: Policy Configuration.
PolicyName interface{} Property policyName: The name of the policy.

AttachResourceIdsRequired

AttachResourceIds interface{}
  • Type: interface{}

Property attachResourceIds: The Mount point id list.


AttachResourceTypeRequired

AttachResourceType interface{}
  • Type: interface{}

Property attachResourceType: Policies support mount point types.

HttpApi:HttpApi. Operation: the Operation of the HttpApi. GatewayRoute: Gateway route. GatewayService: Gateway service. GatewayServicePort: The Gateway service port. Domain: The Gateway Domain name. Gateway: Gateway.


EnvironmentIdRequired

EnvironmentId interface{}
  • Type: interface{}

Property environmentId: The id of the environment.


GatewayIdRequired

GatewayId interface{}
  • Type: interface{}

Property gatewayId: The ID of the Gateway.


PolicyClassNameRequired

PolicyClassName interface{}
  • Type: interface{}

Property policyClassName: The name of the policy class.


PolicyConfigRequired

PolicyConfig interface{}
  • Type: interface{}

Property policyConfig: Policy Configuration.


PolicyNameOptional

PolicyName interface{}
  • Type: interface{}

Property policyName: The name of the policy.