Skip to content

ServiceLinkedRoleProps

Properties for defining a ServiceLinkedRole.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-servicelinkedrole

Initializer

import com.aliyun.ros.cdk.resourcemanager.ServiceLinkedRoleProps;
ServiceLinkedRoleProps.builder()
    .serviceName(java.lang.String)
    .serviceName(IResolvable)
//  .customSuffix(java.lang.String)
//  .customSuffix(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
    .build();

Properties

Name Type Description
serviceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property serviceName: The service identifier of the service-linked role.
customSuffix java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property customSuffix: The suffix of the service-linked role name.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the service-linked role.

serviceNameRequired

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

Property serviceName: The service identifier of the service-linked role.

For example: cloudmilvus.aliyuncs.com.


customSuffixOptional

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

Property customSuffix: The suffix of the service-linked role name.

Specify this property only if the service supports custom suffixes.


descriptionOptional

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

Property description: The description of the service-linked role.

The description must be 1 to 1,024 characters in length.