Class TrustProvider


  • public class TrustProvider
    extends com.pulumi.resources.CustomResource
    Resource for managing a Verified Access Trust Provider. ## Example Usage
     
     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.ArrayList;
     import java.util.Arrays;
     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());
     
         }
     }
     
     
    ## Import Using `pulumi import`, import Transfer Workflows using the `id`. For example: ```sh $ pulumi import aws:verifiedaccess/trustProvider:TrustProvider example vatp-8012925589 ```
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Constructor Detail

      • TrustProvider

        public TrustProvider​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • TrustProvider

        public TrustProvider​(java.lang.String name,
                             TrustProviderArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • TrustProvider

        public TrustProvider​(java.lang.String name,
                             TrustProviderArgs args,
                             @Nullable
                             com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • description

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
        Returns:
        Description for the AWS Verified Access trust provider.
      • deviceOptions

        public com.pulumi.core.Output<java.util.Optional<TrustProviderDeviceOptions>> deviceOptions()
        Returns:
        Block of options for device identity based trust providers. See below.
      • deviceTrustProviderType

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> deviceTrustProviderType()
        Returns:
        Type of device-based trust provider.
      • nativeApplicationOidcOptions

        public com.pulumi.core.Output<java.util.Optional<TrustProviderNativeApplicationOidcOptions>> nativeApplicationOidcOptions()
        Returns:
        OpenID Connect details for a Native Application OIDC, user-identity based trust provider. See below.
      • oidcOptions

        public com.pulumi.core.Output<java.util.Optional<TrustProviderOidcOptions>> oidcOptions()
        Returns:
        OpenID Connect details for an oidc-type, user-identity based trust provider. See below.
      • policyReferenceName

        public com.pulumi.core.Output<java.lang.String> policyReferenceName()
        Returns:
        Identifier to be used when working with policy rules.
      • region

        public com.pulumi.core.Output<java.lang.String> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • sseSpecification

        public com.pulumi.core.Output<TrustProviderSseSpecification> sseSpecification()
        Returns:
        Block of options in use for server side encryption. See below.
      • tags

        public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll()
      • trustProviderType

        public com.pulumi.core.Output<java.lang.String> trustProviderType()
        Returns:
        Type of trust provider can be either user or device-based. The following arguments are optional:
      • userTrustProviderType

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> userTrustProviderType()
        Returns:
        Type of user-based trust provider.
      • get

        public static TrustProvider get​(java.lang.String name,
                                        com.pulumi.core.Output<java.lang.String> id,
                                        @Nullable
                                        TrustProviderState state,
                                        @Nullable
                                        com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        state -
        options - Optional settings to control the behavior of the CustomResource.