GroupArgs

data class GroupArgs(val comments: Output<String>? = null, val force: Output<Boolean>? = null, val name: Output<String>? = null) : ConvertibleToJava<GroupArgs>

Provides a RAM Group resource.

NOTE: When you want to destroy this resource forcefully(means remove all the relationships associated with it automatically and then destroy it) without set force with true at beginning, you need add force = true to configuration file and run pulumi preview, then you can delete resource forcefully. NOTE: Available since v1.0.0+.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ram.Group;
import com.pulumi.alicloud.ram.GroupArgs;
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 group = new Group("group", GroupArgs.builder()
.comments("this is a group comments.")
.build());
}
}

Import

RAM group can be imported using the id or name, e.g.

$ pulumi import alicloud:ram/group:Group example my-group

Constructors

Link copied to clipboard
fun GroupArgs(comments: Output<String>? = null, force: Output<Boolean>? = null, name: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GroupArgs

Properties

Link copied to clipboard
val comments: Output<String>? = null

Comment of the RAM group. This parameter can have a string of 1 to 128 characters.

Link copied to clipboard
val force: Output<Boolean>? = null

This parameter is used for resource destroy. Default value is false.

Link copied to clipboard
val name: Output<String>? = null

Name of the RAM group. This name can have a string of 1 to 128 characters, must contain only alphanumeric characters or hyphen "-", and must not begin with a hyphen.