com.pulumi.aws.verifiedaccess.kotlin.GroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.verifiedaccess.kotlin
import com.pulumi.aws.verifiedaccess.GroupArgs.builder
import com.pulumi.aws.verifiedaccess.kotlin.inputs.GroupSseConfigurationArgs
import com.pulumi.aws.verifiedaccess.kotlin.inputs.GroupSseConfigurationArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Resource for managing a Verified Access Group.
* ## Example Usage
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
* const example = new aws.verifiedaccess.Group("example", {verifiedaccessInstanceId: exampleAwsVerifiedaccessInstance.id});
* ```
* ```python
* import pulumi
* import pulumi_aws as aws
* example = aws.verifiedaccess.Group("example", verifiedaccess_instance_id=example_aws_verifiedaccess_instance["id"])
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Aws = Pulumi.Aws;
* return await Deployment.RunAsync(() =>
* {
* var example = new Aws.VerifiedAccess.Group("example", new()
* {
* VerifiedaccessInstanceId = exampleAwsVerifiedaccessInstance.Id,
* });
* });
* ```
* ```go
* package main
* import (
* "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/verifiedaccess"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := verifiedaccess.NewGroup(ctx, "example", &verifiedaccess.GroupArgs{
* VerifiedaccessInstanceId: pulumi.Any(exampleAwsVerifiedaccessInstance.Id),
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.verifiedaccess.Group;
* import com.pulumi.aws.verifiedaccess.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 example = new Group("example", GroupArgs.builder()
* .verifiedaccessInstanceId(exampleAwsVerifiedaccessInstance.id())
* .build());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: aws:verifiedaccess:Group
* properties:
* verifiedaccessInstanceId: ${exampleAwsVerifiedaccessInstance.id}
* ```
*
* ### Usage with KMS Key
*
* ```yaml
* resources:
* testKey:
* type: aws:kms:Key
* name: test_key
* properties:
* description: KMS key for Verified Access Group test
* test:
* type: aws:verifiedaccess:Group
* properties:
* verifiedaccessInstanceId: ${testAwsVerifiedaccessInstanceTrustProviderAttachment.verifiedaccessInstanceId}
* serverSideEncryptionConfiguration:
* - kmsKeyArn: ${testKey.arn}
* ```
*
* @property description Description of the verified access group.
* @property policyDocument The policy document that is associated with this resource.
* @property sseConfiguration Configuration block to use KMS keys for server-side encryption.
* @property tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
* @property verifiedaccessInstanceId The id of the verified access instance this group is associated with.
* The following arguments are optional:
*/
public data class GroupArgs(
public val description: Output? = null,
public val policyDocument: Output? = null,
public val sseConfiguration: Output? = null,
public val tags: Output