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

com.pulumi.aws.cognito.inputs.ManagedUserPoolClientAnalyticsConfigurationArgs 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.cognito.inputs;

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


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

    public static final ManagedUserPoolClientAnalyticsConfigurationArgs Empty = new ManagedUserPoolClientAnalyticsConfigurationArgs();

    /**
     * Application ARN for an Amazon Pinpoint application. It conflicts with `external_id` and `role_arn`.
     * 
     */
    @Import(name="applicationArn")
    private @Nullable Output applicationArn;

    /**
     * @return Application ARN for an Amazon Pinpoint application. It conflicts with `external_id` and `role_arn`.
     * 
     */
    public Optional> applicationArn() {
        return Optional.ofNullable(this.applicationArn);
    }

    /**
     * Unique identifier for an Amazon Pinpoint application.
     * 
     */
    @Import(name="applicationId")
    private @Nullable Output applicationId;

    /**
     * @return Unique identifier for an Amazon Pinpoint application.
     * 
     */
    public Optional> applicationId() {
        return Optional.ofNullable(this.applicationId);
    }

    /**
     * ID for the Analytics Configuration and conflicts with `application_arn`.
     * 
     */
    @Import(name="externalId")
    private @Nullable Output externalId;

    /**
     * @return ID for the Analytics Configuration and conflicts with `application_arn`.
     * 
     */
    public Optional> externalId() {
        return Optional.ofNullable(this.externalId);
    }

    /**
     * ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. It conflicts with `application_arn`.
     * 
     */
    @Import(name="roleArn")
    private @Nullable Output roleArn;

    /**
     * @return ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. It conflicts with `application_arn`.
     * 
     */
    public Optional> roleArn() {
        return Optional.ofNullable(this.roleArn);
    }

    /**
     * If `user_data_shared` is set to `true`, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics.
     * 
     */
    @Import(name="userDataShared")
    private @Nullable Output userDataShared;

    /**
     * @return If `user_data_shared` is set to `true`, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics.
     * 
     */
    public Optional> userDataShared() {
        return Optional.ofNullable(this.userDataShared);
    }

    private ManagedUserPoolClientAnalyticsConfigurationArgs() {}

    private ManagedUserPoolClientAnalyticsConfigurationArgs(ManagedUserPoolClientAnalyticsConfigurationArgs $) {
        this.applicationArn = $.applicationArn;
        this.applicationId = $.applicationId;
        this.externalId = $.externalId;
        this.roleArn = $.roleArn;
        this.userDataShared = $.userDataShared;
    }

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

    public static final class Builder {
        private ManagedUserPoolClientAnalyticsConfigurationArgs $;

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

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

        /**
         * @param applicationArn Application ARN for an Amazon Pinpoint application. It conflicts with `external_id` and `role_arn`.
         * 
         * @return builder
         * 
         */
        public Builder applicationArn(@Nullable Output applicationArn) {
            $.applicationArn = applicationArn;
            return this;
        }

        /**
         * @param applicationArn Application ARN for an Amazon Pinpoint application. It conflicts with `external_id` and `role_arn`.
         * 
         * @return builder
         * 
         */
        public Builder applicationArn(String applicationArn) {
            return applicationArn(Output.of(applicationArn));
        }

        /**
         * @param applicationId Unique identifier for an Amazon Pinpoint application.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(@Nullable Output applicationId) {
            $.applicationId = applicationId;
            return this;
        }

        /**
         * @param applicationId Unique identifier for an Amazon Pinpoint application.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(String applicationId) {
            return applicationId(Output.of(applicationId));
        }

        /**
         * @param externalId ID for the Analytics Configuration and conflicts with `application_arn`.
         * 
         * @return builder
         * 
         */
        public Builder externalId(@Nullable Output externalId) {
            $.externalId = externalId;
            return this;
        }

        /**
         * @param externalId ID for the Analytics Configuration and conflicts with `application_arn`.
         * 
         * @return builder
         * 
         */
        public Builder externalId(String externalId) {
            return externalId(Output.of(externalId));
        }

        /**
         * @param roleArn ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. It conflicts with `application_arn`.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(@Nullable Output roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. It conflicts with `application_arn`.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        /**
         * @param userDataShared If `user_data_shared` is set to `true`, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics.
         * 
         * @return builder
         * 
         */
        public Builder userDataShared(@Nullable Output userDataShared) {
            $.userDataShared = userDataShared;
            return this;
        }

        /**
         * @param userDataShared If `user_data_shared` is set to `true`, Amazon Cognito will include user data in the events it publishes to Amazon Pinpoint analytics.
         * 
         * @return builder
         * 
         */
        public Builder userDataShared(Boolean userDataShared) {
            return userDataShared(Output.of(userDataShared));
        }

        public ManagedUserPoolClientAnalyticsConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy