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

com.pulumi.aws.securitylake.inputs.SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs Maven / Gradle / Ivy

Go to download

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

The 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.securitylake.inputs;

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


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

    public static final SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs Empty = new SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs();

    /**
     * The API key name for the notification subscription.
     * 
     */
    @Import(name="authorizationApiKeyName")
    private @Nullable Output authorizationApiKeyName;

    /**
     * @return The API key name for the notification subscription.
     * 
     */
    public Optional> authorizationApiKeyName() {
        return Optional.ofNullable(this.authorizationApiKeyName);
    }

    /**
     * The API key value for the notification subscription.
     * 
     */
    @Import(name="authorizationApiKeyValue")
    private @Nullable Output authorizationApiKeyValue;

    /**
     * @return The API key value for the notification subscription.
     * 
     */
    public Optional> authorizationApiKeyValue() {
        return Optional.ofNullable(this.authorizationApiKeyValue);
    }

    /**
     * The subscription endpoint in Security Lake.
     * If you prefer notification with an HTTPS endpoint, populate this field.
     * 
     */
    @Import(name="endpoint", required=true)
    private Output endpoint;

    /**
     * @return The subscription endpoint in Security Lake.
     * If you prefer notification with an HTTPS endpoint, populate this field.
     * 
     */
    public Output endpoint() {
        return this.endpoint;
    }

    /**
     * The HTTP method used for the notification subscription.
     * Valid values are `POST` and `PUT`.
     * 
     */
    @Import(name="httpMethod")
    private @Nullable Output httpMethod;

    /**
     * @return The HTTP method used for the notification subscription.
     * Valid values are `POST` and `PUT`.
     * 
     */
    public Optional> httpMethod() {
        return Optional.ofNullable(this.httpMethod);
    }

    /**
     * The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
     * For more information about ARNs and how to use them in policies, see Managing data access and AWS Managed Policies in the Amazon Security Lake User Guide.
     * 
     */
    @Import(name="targetRoleArn", required=true)
    private Output targetRoleArn;

    /**
     * @return The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
     * For more information about ARNs and how to use them in policies, see Managing data access and AWS Managed Policies in the Amazon Security Lake User Guide.
     * 
     */
    public Output targetRoleArn() {
        return this.targetRoleArn;
    }

    private SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs() {}

    private SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs(SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs $) {
        this.authorizationApiKeyName = $.authorizationApiKeyName;
        this.authorizationApiKeyValue = $.authorizationApiKeyValue;
        this.endpoint = $.endpoint;
        this.httpMethod = $.httpMethod;
        this.targetRoleArn = $.targetRoleArn;
    }

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

    public static final class Builder {
        private SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs $;

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

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

        /**
         * @param authorizationApiKeyName The API key name for the notification subscription.
         * 
         * @return builder
         * 
         */
        public Builder authorizationApiKeyName(@Nullable Output authorizationApiKeyName) {
            $.authorizationApiKeyName = authorizationApiKeyName;
            return this;
        }

        /**
         * @param authorizationApiKeyName The API key name for the notification subscription.
         * 
         * @return builder
         * 
         */
        public Builder authorizationApiKeyName(String authorizationApiKeyName) {
            return authorizationApiKeyName(Output.of(authorizationApiKeyName));
        }

        /**
         * @param authorizationApiKeyValue The API key value for the notification subscription.
         * 
         * @return builder
         * 
         */
        public Builder authorizationApiKeyValue(@Nullable Output authorizationApiKeyValue) {
            $.authorizationApiKeyValue = authorizationApiKeyValue;
            return this;
        }

        /**
         * @param authorizationApiKeyValue The API key value for the notification subscription.
         * 
         * @return builder
         * 
         */
        public Builder authorizationApiKeyValue(String authorizationApiKeyValue) {
            return authorizationApiKeyValue(Output.of(authorizationApiKeyValue));
        }

        /**
         * @param endpoint The subscription endpoint in Security Lake.
         * If you prefer notification with an HTTPS endpoint, populate this field.
         * 
         * @return builder
         * 
         */
        public Builder endpoint(Output endpoint) {
            $.endpoint = endpoint;
            return this;
        }

        /**
         * @param endpoint The subscription endpoint in Security Lake.
         * If you prefer notification with an HTTPS endpoint, populate this field.
         * 
         * @return builder
         * 
         */
        public Builder endpoint(String endpoint) {
            return endpoint(Output.of(endpoint));
        }

        /**
         * @param httpMethod The HTTP method used for the notification subscription.
         * Valid values are `POST` and `PUT`.
         * 
         * @return builder
         * 
         */
        public Builder httpMethod(@Nullable Output httpMethod) {
            $.httpMethod = httpMethod;
            return this;
        }

        /**
         * @param httpMethod The HTTP method used for the notification subscription.
         * Valid values are `POST` and `PUT`.
         * 
         * @return builder
         * 
         */
        public Builder httpMethod(String httpMethod) {
            return httpMethod(Output.of(httpMethod));
        }

        /**
         * @param targetRoleArn The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
         * For more information about ARNs and how to use them in policies, see Managing data access and AWS Managed Policies in the Amazon Security Lake User Guide.
         * 
         * @return builder
         * 
         */
        public Builder targetRoleArn(Output targetRoleArn) {
            $.targetRoleArn = targetRoleArn;
            return this;
        }

        /**
         * @param targetRoleArn The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
         * For more information about ARNs and how to use them in policies, see Managing data access and AWS Managed Policies in the Amazon Security Lake User Guide.
         * 
         * @return builder
         * 
         */
        public Builder targetRoleArn(String targetRoleArn) {
            return targetRoleArn(Output.of(targetRoleArn));
        }

        public SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs build() {
            if ($.endpoint == null) {
                throw new MissingRequiredPropertyException("SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs", "endpoint");
            }
            if ($.targetRoleArn == null) {
                throw new MissingRequiredPropertyException("SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs", "targetRoleArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy