Skip to content

PolicyProps

Properties for defining a Policy.

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

Initializer

import { PolicyProps } from '@alicloud/ros-cdk-apig'
const policyProps: PolicyProps = { ... }

Properties

Name Type Description
attachResourceIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property attachResourceIds: The Mount point id list.
attachResourceType string | @alicloud/ros-cdk-core.IResolvable Property attachResourceType: Policies support mount point types.
environmentId string | @alicloud/ros-cdk-core.IResolvable Property environmentId: The id of the environment.
gatewayId string | @alicloud/ros-cdk-core.IResolvable Property gatewayId: The ID of the Gateway.
policyClassName string | @alicloud/ros-cdk-core.IResolvable Property policyClassName: The name of the policy class.
policyConfig string | @alicloud/ros-cdk-core.IResolvable Property policyConfig: Policy Configuration.
policyName string | @alicloud/ros-cdk-core.IResolvable Property policyName: The name of the policy.

attachResourceIdsRequired

public readonly attachResourceIds: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property attachResourceIds: The Mount point id list.


attachResourceTypeRequired

public readonly attachResourceType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly environmentId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property environmentId: The id of the environment.


gatewayIdRequired

public readonly gatewayId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property gatewayId: The ID of the Gateway.


policyClassNameRequired

public readonly policyClassName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property policyClassName: The name of the policy class.


policyConfigRequired

public readonly policyConfig: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property policyConfig: Policy Configuration.


policyNameOptional

public readonly policyName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property policyName: The name of the policy.