1. Packages
  2. AWS
  3. API Docs
  4. verifiedaccess
  5. Instance
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.verifiedaccess.Instance

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Resource for managing a Verified Access Instance.

    Example Usage

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.verifiedaccess.Instance("example", {
        description: "example",
        tags: {
            Name: "example",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.verifiedaccess.Instance("example",
        description="example",
        tags={
            "Name": "example",
        })
    
    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.NewInstance(ctx, "example", &verifiedaccess.InstanceArgs{
    			Description: pulumi.String("example"),
    			Tags: pulumi.StringMap{
    				"Name": pulumi.String("example"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.VerifiedAccess.Instance("example", new()
        {
            Description = "example",
            Tags = 
            {
                { "Name", "example" },
            },
        });
    
    });
    
    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());
    
        }
    }
    
    resources:
      example:
        type: aws:verifiedaccess:Instance
        properties:
          description: example
          tags:
            Name: example
    

    With fips_enabled

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.verifiedaccess.Instance("example", {fipsEnabled: true});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.verifiedaccess.Instance("example", fips_enabled=True)
    
    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.NewInstance(ctx, "example", &verifiedaccess.InstanceArgs{
    			FipsEnabled: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.VerifiedAccess.Instance("example", new()
        {
            FipsEnabled = true,
        });
    
    });
    
    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());
    
        }
    }
    
    resources:
      example:
        type: aws:verifiedaccess:Instance
        properties:
          fipsEnabled: true
    

    Create Instance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Instance(name: string, args?: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 args: Optional[InstanceArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 description: Optional[str] = None,
                 fips_enabled: Optional[bool] = None,
                 tags: Optional[Mapping[str, str]] = None)
    func NewInstance(ctx *Context, name string, args *InstanceArgs, opts ...ResourceOption) (*Instance, error)
    public Instance(string name, InstanceArgs? args = null, CustomResourceOptions? opts = null)
    public Instance(String name, InstanceArgs args)
    public Instance(String name, InstanceArgs args, CustomResourceOptions options)
    
    type: aws:verifiedaccess:Instance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleinstanceResourceResourceFromVerifiedaccessinstance = new Aws.VerifiedAccess.Instance("exampleinstanceResourceResourceFromVerifiedaccessinstance", new()
    {
        Description = "string",
        FipsEnabled = false,
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := verifiedaccess.NewInstance(ctx, "exampleinstanceResourceResourceFromVerifiedaccessinstance", &verifiedaccess.InstanceArgs{
    	Description: pulumi.String("string"),
    	FipsEnabled: pulumi.Bool(false),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var exampleinstanceResourceResourceFromVerifiedaccessinstance = new Instance("exampleinstanceResourceResourceFromVerifiedaccessinstance", InstanceArgs.builder()
        .description("string")
        .fipsEnabled(false)
        .tags(Map.of("string", "string"))
        .build());
    
    exampleinstance_resource_resource_from_verifiedaccessinstance = aws.verifiedaccess.Instance("exampleinstanceResourceResourceFromVerifiedaccessinstance",
        description="string",
        fips_enabled=False,
        tags={
            "string": "string",
        })
    
    const exampleinstanceResourceResourceFromVerifiedaccessinstance = new aws.verifiedaccess.Instance("exampleinstanceResourceResourceFromVerifiedaccessinstance", {
        description: "string",
        fipsEnabled: false,
        tags: {
            string: "string",
        },
    });
    
    type: aws:verifiedaccess:Instance
    properties:
        description: string
        fipsEnabled: false
        tags:
            string: string
    

    Instance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Instance resource accepts the following input properties:

    Description string
    A description for the AWS Verified Access Instance.
    FipsEnabled bool
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    Tags Dictionary<string, string>
    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.
    Description string
    A description for the AWS Verified Access Instance.
    FipsEnabled bool
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    Tags map[string]string
    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.
    description String
    A description for the AWS Verified Access Instance.
    fipsEnabled Boolean
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    tags Map<String,String>
    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.
    description string
    A description for the AWS Verified Access Instance.
    fipsEnabled boolean
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    tags {[key: string]: string}
    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.
    description str
    A description for the AWS Verified Access Instance.
    fips_enabled bool
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    tags Mapping[str, str]
    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.
    description String
    A description for the AWS Verified Access Instance.
    fipsEnabled Boolean
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    tags Map<String>
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:

    CreationTime string
    The time that the Verified Access Instance was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The time that the Verified Access Instance was last updated.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    VerifiedAccessTrustProviders List<InstanceVerifiedAccessTrustProvider>
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    CreationTime string
    The time that the Verified Access Instance was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The time that the Verified Access Instance was last updated.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    VerifiedAccessTrustProviders []InstanceVerifiedAccessTrustProvider
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    creationTime String
    The time that the Verified Access Instance was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    The time that the Verified Access Instance was last updated.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    verifiedAccessTrustProviders List<InstanceVerifiedAccessTrustProvider>
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    creationTime string
    The time that the Verified Access Instance was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime string
    The time that the Verified Access Instance was last updated.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    verifiedAccessTrustProviders InstanceVerifiedAccessTrustProvider[]
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    creation_time str
    The time that the Verified Access Instance was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_time str
    The time that the Verified Access Instance was last updated.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    verified_access_trust_providers Sequence[InstanceVerifiedAccessTrustProvider]
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    creationTime String
    The time that the Verified Access Instance was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    The time that the Verified Access Instance was last updated.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    verifiedAccessTrustProviders List<Property Map>
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks

    Look up Existing Instance Resource

    Get an existing Instance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InstanceState, opts?: CustomResourceOptions): Instance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            creation_time: Optional[str] = None,
            description: Optional[str] = None,
            fips_enabled: Optional[bool] = None,
            last_updated_time: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            verified_access_trust_providers: Optional[Sequence[InstanceVerifiedAccessTrustProviderArgs]] = None) -> Instance
    func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
    public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
    public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreationTime string
    The time that the Verified Access Instance was created.
    Description string
    A description for the AWS Verified Access Instance.
    FipsEnabled bool
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    LastUpdatedTime string
    The time that the Verified Access Instance was last updated.
    Tags Dictionary<string, string>
    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.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    VerifiedAccessTrustProviders List<InstanceVerifiedAccessTrustProvider>
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    CreationTime string
    The time that the Verified Access Instance was created.
    Description string
    A description for the AWS Verified Access Instance.
    FipsEnabled bool
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    LastUpdatedTime string
    The time that the Verified Access Instance was last updated.
    Tags map[string]string
    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.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    VerifiedAccessTrustProviders []InstanceVerifiedAccessTrustProviderArgs
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    creationTime String
    The time that the Verified Access Instance was created.
    description String
    A description for the AWS Verified Access Instance.
    fipsEnabled Boolean
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    lastUpdatedTime String
    The time that the Verified Access Instance was last updated.
    tags Map<String,String>
    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.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    verifiedAccessTrustProviders List<InstanceVerifiedAccessTrustProvider>
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    creationTime string
    The time that the Verified Access Instance was created.
    description string
    A description for the AWS Verified Access Instance.
    fipsEnabled boolean
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    lastUpdatedTime string
    The time that the Verified Access Instance was last updated.
    tags {[key: string]: string}
    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.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    verifiedAccessTrustProviders InstanceVerifiedAccessTrustProvider[]
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    creation_time str
    The time that the Verified Access Instance was created.
    description str
    A description for the AWS Verified Access Instance.
    fips_enabled bool
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    last_updated_time str
    The time that the Verified Access Instance was last updated.
    tags Mapping[str, str]
    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.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    verified_access_trust_providers Sequence[InstanceVerifiedAccessTrustProviderArgs]
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks
    creationTime String
    The time that the Verified Access Instance was created.
    description String
    A description for the AWS Verified Access Instance.
    fipsEnabled Boolean
    Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
    lastUpdatedTime String
    The time that the Verified Access Instance was last updated.
    tags Map<String>
    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.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    verifiedAccessTrustProviders List<Property Map>
    One or more blocks of providing information about the AWS Verified Access Trust Providers. See verified_access_trust_providers below for details.One or more blocks

    Supporting Types

    InstanceVerifiedAccessTrustProvider, InstanceVerifiedAccessTrustProviderArgs

    Description string
    A description for the AWS Verified Access Instance.
    DeviceTrustProviderType string
    The type of device-based trust provider.
    TrustProviderType string
    The type of trust provider (user- or device-based).
    UserTrustProviderType string
    The type of user-based trust provider.
    VerifiedAccessTrustProviderId string
    The ID of the trust provider.
    Description string
    A description for the AWS Verified Access Instance.
    DeviceTrustProviderType string
    The type of device-based trust provider.
    TrustProviderType string
    The type of trust provider (user- or device-based).
    UserTrustProviderType string
    The type of user-based trust provider.
    VerifiedAccessTrustProviderId string
    The ID of the trust provider.
    description String
    A description for the AWS Verified Access Instance.
    deviceTrustProviderType String
    The type of device-based trust provider.
    trustProviderType String
    The type of trust provider (user- or device-based).
    userTrustProviderType String
    The type of user-based trust provider.
    verifiedAccessTrustProviderId String
    The ID of the trust provider.
    description string
    A description for the AWS Verified Access Instance.
    deviceTrustProviderType string
    The type of device-based trust provider.
    trustProviderType string
    The type of trust provider (user- or device-based).
    userTrustProviderType string
    The type of user-based trust provider.
    verifiedAccessTrustProviderId string
    The ID of the trust provider.
    description str
    A description for the AWS Verified Access Instance.
    device_trust_provider_type str
    The type of device-based trust provider.
    trust_provider_type str
    The type of trust provider (user- or device-based).
    user_trust_provider_type str
    The type of user-based trust provider.
    verified_access_trust_provider_id str
    The ID of the trust provider.
    description String
    A description for the AWS Verified Access Instance.
    deviceTrustProviderType String
    The type of device-based trust provider.
    trustProviderType String
    The type of trust provider (user- or device-based).
    userTrustProviderType String
    The type of user-based trust provider.
    verifiedAccessTrustProviderId String
    The ID of the trust provider.

    Import

    Using pulumi import, import Verified Access Instances using the id. For example:

    $ pulumi import aws:verifiedaccess/instance:Instance example vai-1234567890abcdef0
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi