AccountMember

class AccountMember : KotlinCustomResource

Provides a resource which manages Cloudflare account members.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.AccountMember;
import com.pulumi.cloudflare.AccountMemberArgs;
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 exampleUser = new AccountMember("exampleUser", AccountMemberArgs.builder()
.emailAddress("user@example.com")
.roleIds(
"68b329da9893e34099c7d8ad5cb9c940",
"d784fa8b6d98d27699781bd9a7cf19f0")
.build());
}
}

Import

$ pulumi import cloudflare:index/accountMember:AccountMember example <account_id>/<member_id>

Properties

Link copied to clipboard
val accountId: Output<String>?

Account ID to create the account member in.

Link copied to clipboard
val emailAddress: Output<String>

The email address of the user who you wish to manage. Following creation, this field becomes read only via the API and cannot be updated.

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 roleIds: Output<List<String>>

List of account role IDs that you want to assign to a member.

Link copied to clipboard
val status: Output<String>

A member's status in the account. Available values: accepted, pending.

Link copied to clipboard
val urn: Output<String>