All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.appsync.inputs.GraphQLApiOpenidConnectConfigArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.appsync.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GraphQLApiOpenidConnectConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final GraphQLApiOpenidConnectConfigArgs Empty = new GraphQLApiOpenidConnectConfigArgs();

    /**
     * Number of milliseconds a token is valid after being authenticated.
     * 
     */
    @Import(name="authTtl")
    private @Nullable Output authTtl;

    /**
     * @return Number of milliseconds a token is valid after being authenticated.
     * 
     */
    public Optional> authTtl() {
        return Optional.ofNullable(this.authTtl);
    }

    /**
     * Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
     * 
     */
    @Import(name="clientId")
    private @Nullable Output clientId;

    /**
     * @return Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
     * 
     */
    public Optional> clientId() {
        return Optional.ofNullable(this.clientId);
    }

    /**
     * Number of milliseconds a token is valid after being issued to a user.
     * 
     */
    @Import(name="iatTtl")
    private @Nullable Output iatTtl;

    /**
     * @return Number of milliseconds a token is valid after being issued to a user.
     * 
     */
    public Optional> iatTtl() {
        return Optional.ofNullable(this.iatTtl);
    }

    /**
     * Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
     * 
     */
    @Import(name="issuer", required=true)
    private Output issuer;

    /**
     * @return Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
     * 
     */
    public Output issuer() {
        return this.issuer;
    }

    private GraphQLApiOpenidConnectConfigArgs() {}

    private GraphQLApiOpenidConnectConfigArgs(GraphQLApiOpenidConnectConfigArgs $) {
        this.authTtl = $.authTtl;
        this.clientId = $.clientId;
        this.iatTtl = $.iatTtl;
        this.issuer = $.issuer;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GraphQLApiOpenidConnectConfigArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GraphQLApiOpenidConnectConfigArgs $;

        public Builder() {
            $ = new GraphQLApiOpenidConnectConfigArgs();
        }

        public Builder(GraphQLApiOpenidConnectConfigArgs defaults) {
            $ = new GraphQLApiOpenidConnectConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param authTtl Number of milliseconds a token is valid after being authenticated.
         * 
         * @return builder
         * 
         */
        public Builder authTtl(@Nullable Output authTtl) {
            $.authTtl = authTtl;
            return this;
        }

        /**
         * @param authTtl Number of milliseconds a token is valid after being authenticated.
         * 
         * @return builder
         * 
         */
        public Builder authTtl(Integer authTtl) {
            return authTtl(Output.of(authTtl));
        }

        /**
         * @param clientId Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
         * 
         * @return builder
         * 
         */
        public Builder clientId(@Nullable Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId Client identifier of the Relying party at the OpenID identity provider. This identifier is typically obtained when the Relying party is registered with the OpenID identity provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param iatTtl Number of milliseconds a token is valid after being issued to a user.
         * 
         * @return builder
         * 
         */
        public Builder iatTtl(@Nullable Output iatTtl) {
            $.iatTtl = iatTtl;
            return this;
        }

        /**
         * @param iatTtl Number of milliseconds a token is valid after being issued to a user.
         * 
         * @return builder
         * 
         */
        public Builder iatTtl(Integer iatTtl) {
            return iatTtl(Output.of(iatTtl));
        }

        /**
         * @param issuer Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
         * 
         * @return builder
         * 
         */
        public Builder issuer(Output issuer) {
            $.issuer = issuer;
            return this;
        }

        /**
         * @param issuer Issuer for the OpenID Connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.
         * 
         * @return builder
         * 
         */
        public Builder issuer(String issuer) {
            return issuer(Output.of(issuer));
        }

        public GraphQLApiOpenidConnectConfigArgs build() {
            if ($.issuer == null) {
                throw new MissingRequiredPropertyException("GraphQLApiOpenidConnectConfigArgs", "issuer");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy