TrustProvider

class TrustProvider : KotlinCustomResource

Resource for managing a Verified Access Trust Provider.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.verifiedaccess.TrustProvider("example", {
policyReferenceName: "example",
trustProviderType: "user",
userTrustProviderType: "iam-identity-center",
});
import pulumi
import pulumi_aws as aws
example = aws.verifiedaccess.TrustProvider("example",
policy_reference_name="example",
trust_provider_type="user",
user_trust_provider_type="iam-identity-center")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.VerifiedAccess.TrustProvider("example", new()
{
PolicyReferenceName = "example",
TrustProviderType = "user",
UserTrustProviderType = "iam-identity-center",
});
});
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.NewTrustProvider(ctx, "example", &verifiedaccess.TrustProviderArgs{
PolicyReferenceName: pulumi.String("example"),
TrustProviderType: pulumi.String("user"),
UserTrustProviderType: pulumi.String("iam-identity-center"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.verifiedaccess.TrustProvider;
import com.pulumi.aws.verifiedaccess.TrustProviderArgs;
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 TrustProvider("example", TrustProviderArgs.builder()
.policyReferenceName("example")
.trustProviderType("user")
.userTrustProviderType("iam-identity-center")
.build());
}
}
resources:
example:
type: aws:verifiedaccess:TrustProvider
properties:
policyReferenceName: example
trustProviderType: user
userTrustProviderType: iam-identity-center

Import

Using pulumi import, import Transfer Workflows using the id. For example:

$ pulumi import aws:verifiedaccess/trustProvider:TrustProvider example vatp-8012925589

Properties

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

A description for the AWS Verified Access trust provider.

Link copied to clipboard

A block of options for device identity based trust providers.

Link copied to clipboard

The type of device-based trust provider.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The OpenID Connect details for an Native Application OIDC, user-identity based trust provider.

Link copied to clipboard

The OpenID Connect details for an oidc-type, user-identity based trust provider.

Link copied to clipboard

The identifier to be used when working with policy rules.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard

The type of trust provider can be either user or device-based. The following arguments are optional:

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The type of user-based trust provider.