com.pulumi.aws.verifiedaccess.Instance Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.verifiedaccess;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.verifiedaccess.InstanceArgs;
import com.pulumi.aws.verifiedaccess.inputs.InstanceState;
import com.pulumi.aws.verifiedaccess.outputs.InstanceVerifiedAccessTrustProvider;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Resource for managing a Verified Access Instance.
*
* ## Example Usage
*
* ### Basic
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.verifiedaccess.Instance;
* import com.pulumi.aws.verifiedaccess.InstanceArgs;
* 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 Instance("example", InstanceArgs.builder()
* .description("example")
* .tags(Map.of("Name", "example"))
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ### With `fips_enabled`
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.aws.verifiedaccess.Instance;
* import com.pulumi.aws.verifiedaccess.InstanceArgs;
* 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 Instance("example", InstanceArgs.builder()
* .fipsEnabled(true)
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Using `pulumi import`, import Verified Access Instances using the `id`. For example:
*
* ```sh
* $ pulumi import aws:verifiedaccess/instance:Instance example vai-1234567890abcdef0
* ```
*
*/
@ResourceType(type="aws:verifiedaccess/instance:Instance")
public class Instance extends com.pulumi.resources.CustomResource {
/**
* The time that the Verified Access Instance was created.
*
*/
@Export(name="creationTime", refs={String.class}, tree="[0]")
private Output creationTime;
/**
* @return The time that the Verified Access Instance was created.
*
*/
public Output creationTime() {
return this.creationTime;
}
/**
* A description for the AWS Verified Access Instance.
*
*/
@Export(name="description", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> description;
/**
* @return A description for the AWS Verified Access Instance.
*
*/
public Output> description() {
return Codegen.optional(this.description);
}
/**
* Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
*
*/
@Export(name="fipsEnabled", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> fipsEnabled;
/**
* @return Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
*
*/
public Output> fipsEnabled() {
return Codegen.optional(this.fipsEnabled);
}
/**
* The time that the Verified Access Instance was last updated.
*
*/
@Export(name="lastUpdatedTime", refs={String.class}, tree="[0]")
private Output lastUpdatedTime;
/**
* @return The time that the Verified Access Instance was last updated.
*
*/
public Output lastUpdatedTime() {
return this.lastUpdatedTime;
}
/**
* 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.
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return 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.
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
@Export(name="tagsAll", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy