Try AWS Native preview for resources not in the classic version.
aws.verifiedaccess.Instance
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
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
The Instance resource accepts the following input properties:
- Description string
- 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.
- 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.
- Fips
Enabled bool - Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
- 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.
- fips
Enabled Boolean - Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
- 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.
- fips
Enabled boolean - Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
- {[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.
- 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.
- fips
Enabled Boolean - Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
- 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:
- Creation
Time string - The time that the Verified Access Instance was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTime - The time that the Verified Access Instance was last updated.
- Dictionary<string, string>
- Verified
Access List<InstanceTrust Providers Verified Access Trust Provider> - 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 string - The time that the Verified Access Instance was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTime - The time that the Verified Access Instance was last updated.
- map[string]string
- Verified
Access []InstanceTrust Providers Verified Access Trust Provider - 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 String - The time that the Verified Access Instance was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTime - The time that the Verified Access Instance was last updated.
- Map<String,String>
- verified
Access List<InstanceTrust Providers Verified Access Trust Provider> - 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 string - The time that the Verified Access Instance was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringTime - The time that the Verified Access Instance was last updated.
- {[key: string]: string}
- verified
Access InstanceTrust Providers Verified Access Trust Provider[] - 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_ strtime - The time that the Verified Access Instance was last updated.
- Mapping[str, str]
- verified_
access_ Sequence[Instancetrust_ providers Verified Access Trust Provider] - 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 String - The time that the Verified Access Instance was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTime - The time that the Verified Access Instance was last updated.
- Map<String>
- verified
Access List<Property Map>Trust Providers - 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.
- Creation
Time string - The time that the Verified Access Instance was created.
- Description string
- 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 stringTime - The time that the Verified Access Instance was last updated.
- 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. - Dictionary<string, string>
- Verified
Access List<InstanceTrust Providers Verified Access Trust Provider> - 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 string - The time that the Verified Access Instance was created.
- Description string
- 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 stringTime - The time that the Verified Access Instance was last updated.
- 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. - map[string]string
- Verified
Access []InstanceTrust Providers Verified Access Trust Provider Args - 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 String - The time that the Verified Access Instance was created.
- description String
- A description for the AWS Verified Access Instance.
- fips
Enabled Boolean - Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
- last
Updated StringTime - The time that the Verified Access Instance was last updated.
- 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. - Map<String,String>
- verified
Access List<InstanceTrust Providers Verified Access Trust Provider> - 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 string - The time that the Verified Access Instance was created.
- description string
- A description for the AWS Verified Access Instance.
- fips
Enabled boolean - Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
- last
Updated stringTime - The time that the Verified Access Instance was last updated.
- {[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. - {[key: string]: string}
- verified
Access InstanceTrust Providers Verified Access Trust Provider[] - 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_ strtime - The time that the Verified Access Instance was last updated.
- 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. - Mapping[str, str]
- verified_
access_ Sequence[Instancetrust_ providers Verified Access Trust Provider Args] - 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 String - The time that the Verified Access Instance was created.
- description String
- A description for the AWS Verified Access Instance.
- fips
Enabled Boolean - Enable or disable support for Federal Information Processing Standards (FIPS) on the AWS Verified Access Instance.
- last
Updated StringTime - The time that the Verified Access Instance was last updated.
- 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. - Map<String>
- verified
Access List<Property Map>Trust Providers - 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.
- Device
Trust stringProvider Type - The type of device-based trust provider.
- Trust
Provider stringType - The type of trust provider (user- or device-based).
- User
Trust stringProvider Type - The type of user-based trust provider.
- Verified
Access stringTrust Provider Id - The ID of the trust provider.
- Description string
- A description for the AWS Verified Access Instance.
- Device
Trust stringProvider Type - The type of device-based trust provider.
- Trust
Provider stringType - The type of trust provider (user- or device-based).
- User
Trust stringProvider Type - The type of user-based trust provider.
- Verified
Access stringTrust Provider Id - The ID of the trust provider.
- description String
- A description for the AWS Verified Access Instance.
- device
Trust StringProvider Type - The type of device-based trust provider.
- trust
Provider StringType - The type of trust provider (user- or device-based).
- user
Trust StringProvider Type - The type of user-based trust provider.
- verified
Access StringTrust Provider Id - The ID of the trust provider.
- description string
- A description for the AWS Verified Access Instance.
- device
Trust stringProvider Type - The type of device-based trust provider.
- trust
Provider stringType - The type of trust provider (user- or device-based).
- user
Trust stringProvider Type - The type of user-based trust provider.
- verified
Access stringTrust Provider Id - The ID of the trust provider.
- description str
- A description for the AWS Verified Access Instance.
- device_
trust_ strprovider_ type - The type of device-based trust provider.
- trust_
provider_ strtype - The type of trust provider (user- or device-based).
- user_
trust_ strprovider_ type - The type of user-based trust provider.
- verified_
access_ strtrust_ provider_ id - The ID of the trust provider.
- description String
- A description for the AWS Verified Access Instance.
- device
Trust StringProvider Type - The type of device-based trust provider.
- trust
Provider StringType - The type of trust provider (user- or device-based).
- user
Trust StringProvider Type - The type of user-based trust provider.
- verified
Access StringTrust Provider Id - 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.
Try AWS Native preview for resources not in the classic version.