-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to v3.11.0 of the AWS Terraform Provider (#1173)
- Loading branch information
Showing
197 changed files
with
21,706 additions
and
5,374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,286 @@ | ||
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** | ||
// *** 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.Aws.AppMesh | ||
{ | ||
/// <summary> | ||
/// Provides an AWS App Mesh gateway route resource. | ||
/// | ||
/// ## Example Usage | ||
/// | ||
/// ```csharp | ||
/// using Pulumi; | ||
/// using Aws = Pulumi.Aws; | ||
/// | ||
/// class MyStack : Stack | ||
/// { | ||
/// public MyStack() | ||
/// { | ||
/// var example = new Aws.AppMesh.GatewayRoute("example", new Aws.AppMesh.GatewayRouteArgs | ||
/// { | ||
/// MeshName = "example-service-mesh", | ||
/// VirtualGatewayName = aws_appmesh_virtual_gateway.Example.Name, | ||
/// Spec = new Aws.AppMesh.Inputs.GatewayRouteSpecArgs | ||
/// { | ||
/// HttpRoute = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteArgs | ||
/// { | ||
/// Action = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionArgs | ||
/// { | ||
/// Target = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionTargetArgs | ||
/// { | ||
/// VirtualService = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteActionTargetVirtualServiceArgs | ||
/// { | ||
/// VirtualServiceName = aws_appmesh_virtual_service.Example.Name, | ||
/// }, | ||
/// }, | ||
/// }, | ||
/// Match = new Aws.AppMesh.Inputs.GatewayRouteSpecHttpRouteMatchArgs | ||
/// { | ||
/// Prefix = "/", | ||
/// }, | ||
/// }, | ||
/// }, | ||
/// Tags = | ||
/// { | ||
/// { "Environment", "test" }, | ||
/// }, | ||
/// }); | ||
/// } | ||
/// | ||
/// } | ||
/// ``` | ||
/// </summary> | ||
public partial class GatewayRoute : Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// The ARN of the gateway route. | ||
/// </summary> | ||
[Output("arn")] | ||
public Output<string> Arn { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The creation date of the gateway route. | ||
/// </summary> | ||
[Output("createdDate")] | ||
public Output<string> CreatedDate { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The last update date of the gateway route. | ||
/// </summary> | ||
[Output("lastUpdatedDate")] | ||
public Output<string> LastUpdatedDate { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The name of the service mesh in which to create the gateway route. | ||
/// </summary> | ||
[Output("meshName")] | ||
public Output<string> MeshName { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The AWS account ID of the service mesh's owner. Defaults to the account ID the [AWS provider](https://www.terraform.io/docs/providers/aws/index.html) is currently connected to. | ||
/// </summary> | ||
[Output("meshOwner")] | ||
public Output<string> MeshOwner { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The name to use for the gateway route. | ||
/// </summary> | ||
[Output("name")] | ||
public Output<string> Name { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The resource owner's AWS account ID. | ||
/// </summary> | ||
[Output("resourceOwner")] | ||
public Output<string> ResourceOwner { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The gateway route specification to apply. | ||
/// </summary> | ||
[Output("spec")] | ||
public Output<Outputs.GatewayRouteSpec> Spec { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// A map of tags to assign to the resource. | ||
/// </summary> | ||
[Output("tags")] | ||
public Output<ImmutableDictionary<string, string>?> Tags { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The name of the [virtual gateway](https://www.terraform.io/docs/providers/aws/r/appmesh_virtual_gateway.html) to associate the gateway route with. | ||
/// </summary> | ||
[Output("virtualGatewayName")] | ||
public Output<string> VirtualGatewayName { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a GatewayRoute 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 GatewayRoute(string name, GatewayRouteArgs args, CustomResourceOptions? options = null) | ||
: base("aws:appmesh/gatewayRoute:GatewayRoute", name, args ?? new GatewayRouteArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private GatewayRoute(string name, Input<string> id, GatewayRouteState? state = null, CustomResourceOptions? options = null) | ||
: base("aws:appmesh/gatewayRoute:GatewayRoute", name, state, MakeResourceOptions(options, id)) | ||
{ | ||
} | ||
|
||
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id) | ||
{ | ||
var defaultOptions = new CustomResourceOptions | ||
{ | ||
Version = Utilities.Version, | ||
}; | ||
var merged = CustomResourceOptions.Merge(defaultOptions, options); | ||
// Override the ID if one was specified for consistency with other language SDKs. | ||
merged.Id = id ?? merged.Id; | ||
return merged; | ||
} | ||
/// <summary> | ||
/// Get an existing GatewayRoute resource's state with the given name, ID, and optional extra | ||
/// properties used to qualify the lookup. | ||
/// </summary> | ||
/// | ||
/// <param name="name">The unique name of the resulting resource.</param> | ||
/// <param name="id">The unique provider ID of the resource to lookup.</param> | ||
/// <param name="state">Any extra arguments used during the lookup.</param> | ||
/// <param name="options">A bag of options that control this resource's behavior</param> | ||
public static GatewayRoute Get(string name, Input<string> id, GatewayRouteState? state = null, CustomResourceOptions? options = null) | ||
{ | ||
return new GatewayRoute(name, id, state, options); | ||
} | ||
} | ||
|
||
public sealed class GatewayRouteArgs : Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The name of the service mesh in which to create the gateway route. | ||
/// </summary> | ||
[Input("meshName", required: true)] | ||
public Input<string> MeshName { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// The AWS account ID of the service mesh's owner. Defaults to the account ID the [AWS provider](https://www.terraform.io/docs/providers/aws/index.html) is currently connected to. | ||
/// </summary> | ||
[Input("meshOwner")] | ||
public Input<string>? MeshOwner { get; set; } | ||
|
||
/// <summary> | ||
/// The name to use for the gateway route. | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// The gateway route specification to apply. | ||
/// </summary> | ||
[Input("spec", required: true)] | ||
public Input<Inputs.GatewayRouteSpecArgs> Spec { get; set; } = null!; | ||
|
||
[Input("tags")] | ||
private InputMap<string>? _tags; | ||
|
||
/// <summary> | ||
/// A map of tags to assign to the resource. | ||
/// </summary> | ||
public InputMap<string> Tags | ||
{ | ||
get => _tags ?? (_tags = new InputMap<string>()); | ||
set => _tags = value; | ||
} | ||
|
||
/// <summary> | ||
/// The name of the [virtual gateway](https://www.terraform.io/docs/providers/aws/r/appmesh_virtual_gateway.html) to associate the gateway route with. | ||
/// </summary> | ||
[Input("virtualGatewayName", required: true)] | ||
public Input<string> VirtualGatewayName { get; set; } = null!; | ||
|
||
public GatewayRouteArgs() | ||
{ | ||
} | ||
} | ||
|
||
public sealed class GatewayRouteState : Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The ARN of the gateway route. | ||
/// </summary> | ||
[Input("arn")] | ||
public Input<string>? Arn { get; set; } | ||
|
||
/// <summary> | ||
/// The creation date of the gateway route. | ||
/// </summary> | ||
[Input("createdDate")] | ||
public Input<string>? CreatedDate { get; set; } | ||
|
||
/// <summary> | ||
/// The last update date of the gateway route. | ||
/// </summary> | ||
[Input("lastUpdatedDate")] | ||
public Input<string>? LastUpdatedDate { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the service mesh in which to create the gateway route. | ||
/// </summary> | ||
[Input("meshName")] | ||
public Input<string>? MeshName { get; set; } | ||
|
||
/// <summary> | ||
/// The AWS account ID of the service mesh's owner. Defaults to the account ID the [AWS provider](https://www.terraform.io/docs/providers/aws/index.html) is currently connected to. | ||
/// </summary> | ||
[Input("meshOwner")] | ||
public Input<string>? MeshOwner { get; set; } | ||
|
||
/// <summary> | ||
/// The name to use for the gateway route. | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// The resource owner's AWS account ID. | ||
/// </summary> | ||
[Input("resourceOwner")] | ||
public Input<string>? ResourceOwner { get; set; } | ||
|
||
/// <summary> | ||
/// The gateway route specification to apply. | ||
/// </summary> | ||
[Input("spec")] | ||
public Input<Inputs.GatewayRouteSpecGetArgs>? Spec { get; set; } | ||
|
||
[Input("tags")] | ||
private InputMap<string>? _tags; | ||
|
||
/// <summary> | ||
/// A map of tags to assign to the resource. | ||
/// </summary> | ||
public InputMap<string> Tags | ||
{ | ||
get => _tags ?? (_tags = new InputMap<string>()); | ||
set => _tags = value; | ||
} | ||
|
||
/// <summary> | ||
/// The name of the [virtual gateway](https://www.terraform.io/docs/providers/aws/r/appmesh_virtual_gateway.html) to associate the gateway route with. | ||
/// </summary> | ||
[Input("virtualGatewayName")] | ||
public Input<string>? VirtualGatewayName { get; set; } | ||
|
||
public GatewayRouteState() | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** | ||
// *** 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.Aws.AppMesh.Inputs | ||
{ | ||
|
||
public sealed class GatewayRouteSpecArgs : Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The specification of a gRPC gateway route. | ||
/// </summary> | ||
[Input("grpcRoute")] | ||
public Input<Inputs.GatewayRouteSpecGrpcRouteArgs>? GrpcRoute { get; set; } | ||
|
||
/// <summary> | ||
/// The specification of an HTTP/2 gateway route. | ||
/// </summary> | ||
[Input("http2Route")] | ||
public Input<Inputs.GatewayRouteSpecHttp2RouteArgs>? Http2Route { get; set; } | ||
|
||
/// <summary> | ||
/// The specification of an HTTP gateway route. | ||
/// </summary> | ||
[Input("httpRoute")] | ||
public Input<Inputs.GatewayRouteSpecHttpRouteArgs>? HttpRoute { get; set; } | ||
|
||
public GatewayRouteSpecArgs() | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.