<gh_stars>0// *** WARNING: this file was generated by Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Ipidp.AwsEcsService.BlueGreen
{
    [IpidpResourceType("ipidp:aws_ecs_service/blue_green:CodeDeploy")]
    public partial class CodeDeploy : global::Pulumi.ComponentResource
    {
        /// <summary>
        /// Create a CodeDeploy resource with the given unique name, arguments, and options.
        /// </summary>
        ///
        /// <param name="name">The unique name of the resource</param>
        /// <param name="args">The arguments used to populate this resource's properties</param>
        /// <param name="options">A bag of options that control this resource's behavior</param>
        public CodeDeploy(string name, CodeDeployArgs? args = null, ComponentResourceOptions? options = null)
            : base("ipidp:aws_ecs_service/blue_green:CodeDeploy", name, args ?? new CodeDeployArgs(), MakeResourceOptions(options, ""), remote: true)
        {
        }

        private static ComponentResourceOptions MakeResourceOptions(ComponentResourceOptions? options, Input<string>? id)
        {
            var defaultOptions = new ComponentResourceOptions
            {
                Version = Utilities.Version,
                PluginDownloadURL = "https://yyyy.xxxxx.io/artifactory/sp-docker/pulumi-ipidp-provider",
            };
            var merged = ComponentResourceOptions.Merge(defaultOptions, options);
            // Override the ID if one was specified for consistency with other language SDKs.
            merged.Id = id ?? merged.Id;
            return merged;
        }
    }

    public sealed class CodeDeployArgs : global::Pulumi.ResourceArgs
    {
        public CodeDeployArgs()
        {
        }
        public static new CodeDeployArgs Empty => new CodeDeployArgs();
    }
}
