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

com.pulumi.aws.ssmincidents.inputs.ResponsePlanIncidentTemplateNotificationTargetArgs 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.ssmincidents.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;


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

    public static final ResponsePlanIncidentTemplateNotificationTargetArgs Empty = new ResponsePlanIncidentTemplateNotificationTargetArgs();

    /**
     * The ARN of the Amazon SNS topic.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="snsTopicArn", required=true)
    private Output snsTopicArn;

    /**
     * @return The ARN of the Amazon SNS topic.
     * 
     * The following arguments are optional:
     * 
     */
    public Output snsTopicArn() {
        return this.snsTopicArn;
    }

    private ResponsePlanIncidentTemplateNotificationTargetArgs() {}

    private ResponsePlanIncidentTemplateNotificationTargetArgs(ResponsePlanIncidentTemplateNotificationTargetArgs $) {
        this.snsTopicArn = $.snsTopicArn;
    }

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

    public static final class Builder {
        private ResponsePlanIncidentTemplateNotificationTargetArgs $;

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

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

        /**
         * @param snsTopicArn The ARN of the Amazon SNS topic.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder snsTopicArn(Output snsTopicArn) {
            $.snsTopicArn = snsTopicArn;
            return this;
        }

        /**
         * @param snsTopicArn The ARN of the Amazon SNS topic.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder snsTopicArn(String snsTopicArn) {
            return snsTopicArn(Output.of(snsTopicArn));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy