Skip to content

PolicyProps

Properties for defining a Policy.

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

Initializer

import com.aliyun.ros.cdk.apig.PolicyProps;
PolicyProps.builder()
    .attachResourceIds(IResolvable)
    .attachResourceIds(java.util.List<java.lang.String)
    .attachResourceIds(IResolvable>)
    .attachResourceType(java.lang.String)
    .attachResourceType(IResolvable)
    .environmentId(java.lang.String)
    .environmentId(IResolvable)
    .gatewayId(java.lang.String)
    .gatewayId(IResolvable)
    .policyClassName(java.lang.String)
    .policyClassName(IResolvable)
    .policyConfig(java.lang.String)
    .policyConfig(IResolvable)
//  .policyName(java.lang.String)
//  .policyName(IResolvable)
    .build();

Properties

Name Type Description
attachResourceIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property attachResourceIds: The Mount point id list.
attachResourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property attachResourceType: Policies support mount point types.
environmentId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property environmentId: The id of the environment.
gatewayId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property gatewayId: The ID of the Gateway.
policyClassName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property policyClassName: The name of the policy class.
policyConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property policyConfig: Policy Configuration.
policyName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property policyName: The name of the policy.

attachResourceIdsRequired

public java.lang.Object getAttachResourceIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property attachResourceIds: The Mount point id list.


attachResourceTypeRequired

public java.lang.Object getAttachResourceType();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getEnvironmentId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property environmentId: The id of the environment.


gatewayIdRequired

public java.lang.Object getGatewayId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property gatewayId: The ID of the Gateway.


policyClassNameRequired

public java.lang.Object getPolicyClassName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property policyClassName: The name of the policy class.


policyConfigRequired

public java.lang.Object getPolicyConfig();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property policyConfig: Policy Configuration.


policyNameOptional

public java.lang.Object getPolicyName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property policyName: The name of the policy.