RdsServiceLinkedRole

class RdsServiceLinkedRole : KotlinCustomResource

Provides a RDS Service Linked Role. For information about RDS Service Linked Role and how to use it, see What is Service Linked Role..

NOTE: Available since v1.189.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.rds.RdsServiceLinkedRole;
import com.pulumi.alicloud.rds.RdsServiceLinkedRoleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new RdsServiceLinkedRole("default", RdsServiceLinkedRoleArgs.builder()
.serviceName("AliyunServiceRoleForRdsPgsqlOnEcs")
.build());
}
}

Import

RDS Service Linked Role can be imported using the id, e.g.

$ pulumi import alicloud:rds/rdsServiceLinkedRole:RdsServiceLinkedRole default <service_name>

Properties

Link copied to clipboard
val arn: Output<String>

The Alibaba Cloud Resource Name (ARN) of the role.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roleId: Output<String>

The ID of the role.

Link copied to clipboard
val roleName: Output<String>

The name of the role.

Link copied to clipboard
val serviceName: Output<String>

The product name for SLR. RDS can automatically create the following service-linked roles: AliyunServiceRoleForRdsPgsqlOnEcs, AliyunServiceRoleForRDSProxyOnEcs.

Link copied to clipboard
val urn: Output<String>