@pulumi/aws 5.25.0-alpha.1671707862 → 5.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ import * as pulumi from "@pulumi/pulumi";
3
3
  * Provides a Connection of Direct Connect.
4
4
  *
5
5
  * ## Example Usage
6
+ * ### Create a connection
6
7
  *
7
8
  * ```typescript
8
9
  * import * as pulumi from "@pulumi/pulumi";
@@ -13,6 +14,32 @@ import * as pulumi from "@pulumi/pulumi";
13
14
  * location: "EqDC2",
14
15
  * });
15
16
  * ```
17
+ * ### Request a MACsec-capable connection
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as aws from "@pulumi/aws";
22
+ *
23
+ * const example = new aws.directconnect.Connection("example", {
24
+ * bandwidth: "10Gbps",
25
+ * location: "EqDA2",
26
+ * requestMacsec: true,
27
+ * });
28
+ * ```
29
+ * ### Configure encryption mode for MACsec-capable connections
30
+ * > **NOTE:** You can only specify the `encryptionMode` argument once the connection is in an `Available` state.
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as aws from "@pulumi/aws";
35
+ *
36
+ * const example = new aws.directconnect.Connection("example", {
37
+ * bandwidth: "10Gbps",
38
+ * encryptionMode: "must_encrypt",
39
+ * location: "EqDC2",
40
+ * requestMacsec: true,
41
+ * });
42
+ * ```
16
43
  *
17
44
  * ## Import
18
45
  *
@@ -50,6 +77,10 @@ export declare class Connection extends pulumi.CustomResource {
50
77
  * The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
51
78
  */
52
79
  readonly bandwidth: pulumi.Output<string>;
80
+ /**
81
+ * The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `noEncrypt`, `shouldEncrypt`, and `mustEncrypt`.
82
+ */
83
+ readonly encryptionMode: pulumi.Output<string>;
53
84
  /**
54
85
  * Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
55
86
  */
@@ -62,6 +93,10 @@ export declare class Connection extends pulumi.CustomResource {
62
93
  * The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
63
94
  */
64
95
  readonly location: pulumi.Output<string>;
96
+ /**
97
+ * Boolean value indicating whether the connection supports MAC Security (MACsec).
98
+ */
99
+ readonly macsecCapable: pulumi.Output<boolean>;
65
100
  /**
66
101
  * The name of the connection.
67
102
  */
@@ -70,10 +105,22 @@ export declare class Connection extends pulumi.CustomResource {
70
105
  * The ID of the AWS account that owns the connection.
71
106
  */
72
107
  readonly ownerAccountId: pulumi.Output<string>;
108
+ /**
109
+ * The MAC Security (MACsec) port link status of the connection.
110
+ */
111
+ readonly portEncryptionStatus: pulumi.Output<string>;
73
112
  /**
74
113
  * The name of the service provider associated with the connection.
75
114
  */
76
115
  readonly providerName: pulumi.Output<string>;
116
+ /**
117
+ * Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`.
118
+ */
119
+ readonly requestMacsec: pulumi.Output<boolean | undefined>;
120
+ /**
121
+ * Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state.
122
+ */
123
+ readonly skipDestroy: pulumi.Output<boolean | undefined>;
77
124
  /**
78
125
  * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
79
126
  */
@@ -115,6 +162,10 @@ export interface ConnectionState {
115
162
  * The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
116
163
  */
117
164
  bandwidth?: pulumi.Input<string>;
165
+ /**
166
+ * The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `noEncrypt`, `shouldEncrypt`, and `mustEncrypt`.
167
+ */
168
+ encryptionMode?: pulumi.Input<string>;
118
169
  /**
119
170
  * Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
120
171
  */
@@ -127,6 +178,10 @@ export interface ConnectionState {
127
178
  * The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
128
179
  */
129
180
  location?: pulumi.Input<string>;
181
+ /**
182
+ * Boolean value indicating whether the connection supports MAC Security (MACsec).
183
+ */
184
+ macsecCapable?: pulumi.Input<boolean>;
130
185
  /**
131
186
  * The name of the connection.
132
187
  */
@@ -135,10 +190,22 @@ export interface ConnectionState {
135
190
  * The ID of the AWS account that owns the connection.
136
191
  */
137
192
  ownerAccountId?: pulumi.Input<string>;
193
+ /**
194
+ * The MAC Security (MACsec) port link status of the connection.
195
+ */
196
+ portEncryptionStatus?: pulumi.Input<string>;
138
197
  /**
139
198
  * The name of the service provider associated with the connection.
140
199
  */
141
200
  providerName?: pulumi.Input<string>;
201
+ /**
202
+ * Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`.
203
+ */
204
+ requestMacsec?: pulumi.Input<boolean>;
205
+ /**
206
+ * Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state.
207
+ */
208
+ skipDestroy?: pulumi.Input<boolean>;
142
209
  /**
143
210
  * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
144
211
  */
@@ -164,6 +231,10 @@ export interface ConnectionArgs {
164
231
  * The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
165
232
  */
166
233
  bandwidth: pulumi.Input<string>;
234
+ /**
235
+ * The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `noEncrypt`, `shouldEncrypt`, and `mustEncrypt`.
236
+ */
237
+ encryptionMode?: pulumi.Input<string>;
167
238
  /**
168
239
  * The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
169
240
  */
@@ -176,6 +247,14 @@ export interface ConnectionArgs {
176
247
  * The name of the service provider associated with the connection.
177
248
  */
178
249
  providerName?: pulumi.Input<string>;
250
+ /**
251
+ * Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`.
252
+ */
253
+ requestMacsec?: pulumi.Input<boolean>;
254
+ /**
255
+ * Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state.
256
+ */
257
+ skipDestroy?: pulumi.Input<boolean>;
179
258
  /**
180
259
  * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
181
260
  */
@@ -9,6 +9,7 @@ const utilities = require("../utilities");
9
9
  * Provides a Connection of Direct Connect.
10
10
  *
11
11
  * ## Example Usage
12
+ * ### Create a connection
12
13
  *
13
14
  * ```typescript
14
15
  * import * as pulumi from "@pulumi/pulumi";
@@ -19,6 +20,32 @@ const utilities = require("../utilities");
19
20
  * location: "EqDC2",
20
21
  * });
21
22
  * ```
23
+ * ### Request a MACsec-capable connection
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as aws from "@pulumi/aws";
28
+ *
29
+ * const example = new aws.directconnect.Connection("example", {
30
+ * bandwidth: "10Gbps",
31
+ * location: "EqDA2",
32
+ * requestMacsec: true,
33
+ * });
34
+ * ```
35
+ * ### Configure encryption mode for MACsec-capable connections
36
+ * > **NOTE:** You can only specify the `encryptionMode` argument once the connection is in an `Available` state.
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as aws from "@pulumi/aws";
41
+ *
42
+ * const example = new aws.directconnect.Connection("example", {
43
+ * bandwidth: "10Gbps",
44
+ * encryptionMode: "must_encrypt",
45
+ * location: "EqDC2",
46
+ * requestMacsec: true,
47
+ * });
48
+ * ```
22
49
  *
23
50
  * ## Import
24
51
  *
@@ -59,12 +86,17 @@ class Connection extends pulumi.CustomResource {
59
86
  resourceInputs["arn"] = state ? state.arn : undefined;
60
87
  resourceInputs["awsDevice"] = state ? state.awsDevice : undefined;
61
88
  resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
89
+ resourceInputs["encryptionMode"] = state ? state.encryptionMode : undefined;
62
90
  resourceInputs["hasLogicalRedundancy"] = state ? state.hasLogicalRedundancy : undefined;
63
91
  resourceInputs["jumboFrameCapable"] = state ? state.jumboFrameCapable : undefined;
64
92
  resourceInputs["location"] = state ? state.location : undefined;
93
+ resourceInputs["macsecCapable"] = state ? state.macsecCapable : undefined;
65
94
  resourceInputs["name"] = state ? state.name : undefined;
66
95
  resourceInputs["ownerAccountId"] = state ? state.ownerAccountId : undefined;
96
+ resourceInputs["portEncryptionStatus"] = state ? state.portEncryptionStatus : undefined;
67
97
  resourceInputs["providerName"] = state ? state.providerName : undefined;
98
+ resourceInputs["requestMacsec"] = state ? state.requestMacsec : undefined;
99
+ resourceInputs["skipDestroy"] = state ? state.skipDestroy : undefined;
68
100
  resourceInputs["tags"] = state ? state.tags : undefined;
69
101
  resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
70
102
  resourceInputs["vlanId"] = state ? state.vlanId : undefined;
@@ -78,15 +110,20 @@ class Connection extends pulumi.CustomResource {
78
110
  throw new Error("Missing required property 'location'");
79
111
  }
80
112
  resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
113
+ resourceInputs["encryptionMode"] = args ? args.encryptionMode : undefined;
81
114
  resourceInputs["location"] = args ? args.location : undefined;
82
115
  resourceInputs["name"] = args ? args.name : undefined;
83
116
  resourceInputs["providerName"] = args ? args.providerName : undefined;
117
+ resourceInputs["requestMacsec"] = args ? args.requestMacsec : undefined;
118
+ resourceInputs["skipDestroy"] = args ? args.skipDestroy : undefined;
84
119
  resourceInputs["tags"] = args ? args.tags : undefined;
85
120
  resourceInputs["arn"] = undefined /*out*/;
86
121
  resourceInputs["awsDevice"] = undefined /*out*/;
87
122
  resourceInputs["hasLogicalRedundancy"] = undefined /*out*/;
88
123
  resourceInputs["jumboFrameCapable"] = undefined /*out*/;
124
+ resourceInputs["macsecCapable"] = undefined /*out*/;
89
125
  resourceInputs["ownerAccountId"] = undefined /*out*/;
126
+ resourceInputs["portEncryptionStatus"] = undefined /*out*/;
90
127
  resourceInputs["tagsAll"] = undefined /*out*/;
91
128
  resourceInputs["vlanId"] = undefined /*out*/;
92
129
  }
@@ -1 +1 @@
1
- {"version":3,"file":"connection.js","sourceRoot":"","sources":["../../directconnect/connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,UAAW,SAAQ,MAA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AC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA3JL,gCA4JC;AA9IG,gBAAgB;AACO,uBAAY,GAAG,yCAAyC,CAAC"}
@@ -57,6 +57,9 @@ export declare const HostedTransitVirtualInterfaceAcceptor: typeof import("./hos
57
57
  export { LinkAggregationGroupArgs, LinkAggregationGroupState } from "./linkAggregationGroup";
58
58
  export type LinkAggregationGroup = import("./linkAggregationGroup").LinkAggregationGroup;
59
59
  export declare const LinkAggregationGroup: typeof import("./linkAggregationGroup").LinkAggregationGroup;
60
+ export { MacsecKeyAssociationArgs, MacsecKeyAssociationState } from "./macsecKeyAssociation";
61
+ export type MacsecKeyAssociation = import("./macsecKeyAssociation").MacsecKeyAssociation;
62
+ export declare const MacsecKeyAssociation: typeof import("./macsecKeyAssociation").MacsecKeyAssociation;
60
63
  export { PrivateVirtualInterfaceArgs, PrivateVirtualInterfaceState } from "./privateVirtualInterface";
61
64
  export type PrivateVirtualInterface = import("./privateVirtualInterface").PrivateVirtualInterface;
62
65
  export declare const PrivateVirtualInterface: typeof import("./privateVirtualInterface").PrivateVirtualInterface;
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.TransitVirtualInterface = exports.PublicVirtualInterface = exports.PrivateVirtualInterface = exports.LinkAggregationGroup = exports.HostedTransitVirtualInterfaceAcceptor = exports.HostedTransitVirtualInterface = exports.HostedPublicVirtualInterfaceAccepter = exports.HostedPublicVirtualInterface = exports.HostedPrivateVirtualInterfaceAccepter = exports.HostedPrivateVirtualInterface = exports.HostedConnection = exports.getRouterConfigurationOutput = exports.getRouterConfiguration = exports.getLocations = exports.getLocationOutput = exports.getLocation = exports.getGatewayOutput = exports.getGateway = exports.getConnectionOutput = exports.getConnection = exports.GatewayAssociationProposal = exports.GatewayAssociation = exports.Gateway = exports.ConnectionConfirmation = exports.ConnectionAssociation = exports.Connection = exports.BgpPeer = void 0;
5
+ exports.TransitVirtualInterface = exports.PublicVirtualInterface = exports.PrivateVirtualInterface = exports.MacsecKeyAssociation = exports.LinkAggregationGroup = exports.HostedTransitVirtualInterfaceAcceptor = exports.HostedTransitVirtualInterface = exports.HostedPublicVirtualInterfaceAccepter = exports.HostedPublicVirtualInterface = exports.HostedPrivateVirtualInterfaceAccepter = exports.HostedPrivateVirtualInterface = exports.HostedConnection = exports.getRouterConfigurationOutput = exports.getRouterConfiguration = exports.getLocations = exports.getLocationOutput = exports.getLocation = exports.getGatewayOutput = exports.getGateway = exports.getConnectionOutput = exports.getConnection = exports.GatewayAssociationProposal = exports.GatewayAssociation = exports.Gateway = exports.ConnectionConfirmation = exports.ConnectionAssociation = exports.Connection = exports.BgpPeer = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.BgpPeer = null;
@@ -49,6 +49,8 @@ exports.HostedTransitVirtualInterfaceAcceptor = null;
49
49
  utilities.lazyLoad(exports, ["HostedTransitVirtualInterfaceAcceptor"], () => require("./hostedTransitVirtualInterfaceAcceptor"));
50
50
  exports.LinkAggregationGroup = null;
51
51
  utilities.lazyLoad(exports, ["LinkAggregationGroup"], () => require("./linkAggregationGroup"));
52
+ exports.MacsecKeyAssociation = null;
53
+ utilities.lazyLoad(exports, ["MacsecKeyAssociation"], () => require("./macsecKeyAssociation"));
52
54
  exports.PrivateVirtualInterface = null;
53
55
  utilities.lazyLoad(exports, ["PrivateVirtualInterface"], () => require("./privateVirtualInterface"));
54
56
  exports.PublicVirtualInterface = null;
@@ -89,6 +91,8 @@ const _module = {
89
91
  return new exports.HostedTransitVirtualInterfaceAcceptor(name, undefined, { urn });
90
92
  case "aws:directconnect/linkAggregationGroup:LinkAggregationGroup":
91
93
  return new exports.LinkAggregationGroup(name, undefined, { urn });
94
+ case "aws:directconnect/macsecKeyAssociation:MacsecKeyAssociation":
95
+ return new exports.MacsecKeyAssociation(name, undefined, { urn });
92
96
  case "aws:directconnect/privateVirtualInterface:PrivateVirtualInterface":
93
97
  return new exports.PrivateVirtualInterface(name, undefined, { urn });
94
98
  case "aws:directconnect/publicVirtualInterface:PublicVirtualInterface":
@@ -115,6 +119,7 @@ pulumi.runtime.registerResourceModule("aws", "directconnect/hostedPublicVirtualI
115
119
  pulumi.runtime.registerResourceModule("aws", "directconnect/hostedTransitVirtualInterface", _module);
116
120
  pulumi.runtime.registerResourceModule("aws", "directconnect/hostedTransitVirtualInterfaceAcceptor", _module);
117
121
  pulumi.runtime.registerResourceModule("aws", "directconnect/linkAggregationGroup", _module);
122
+ pulumi.runtime.registerResourceModule("aws", "directconnect/macsecKeyAssociation", _module);
118
123
  pulumi.runtime.registerResourceModule("aws", "directconnect/privateVirtualInterface", _module);
119
124
  pulumi.runtime.registerResourceModule("aws", "directconnect/publicVirtualInterface", _module);
120
125
  pulumi.runtime.registerResourceModule("aws", "directconnect/transitVirtualInterface", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../directconnect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAIpF,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAItF,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AA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,CAAC,KAAK,EAAE,6CAA6C,EAAE,OAAO,CAAC,CAAA;AACpG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qDAAqD,EAAE,OAAO,CAAC,CAAA;AAC5G,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uCAAuC,EAAE,OAAO,CAAC,CAAA;AAC9F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sCAAsC,EAAE,OAAO,CAAC,CAAA;AAC7F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uCAAuC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,144 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a MAC Security (MACSec) secret key resource for use with Direct Connect. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for information about MAC Security (MACsec) prerequisites.
4
+ *
5
+ * Creating this resource will also create a resource of type `aws.secretsmanager.Secret` which is managed by Direct Connect. While you can import this resource into your TODO state, because this secret is managed by Direct Connect, you will not be able to make any modifications to it. See [How AWS Direct Connect uses AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/integrating_how-services-use-secrets_directconnect.html) for details.
6
+ *
7
+ * > **Note:** All arguments including `ckn` and `cak` will be stored in the raw state as plain-text.
8
+ * Read more about sensitive data in state.
9
+ *
10
+ * > **Note:** The `secretArn` argument can only be used to reference a previously created MACSec key. You cannot associate a Secrets Manager secret created outside of the `awsDxMacsecKey` resource.
11
+ *
12
+ * ## Example Usage
13
+ * ### Create MACSec key with CKN and CAK
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const example = aws.directconnect.getConnection({
20
+ * name: "tf-dx-connection",
21
+ * });
22
+ * const test = new aws.directconnect.MacsecKeyAssociation("test", {
23
+ * connectionId: example.then(example => example.id),
24
+ * ckn: "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
25
+ * cak: "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789",
26
+ * });
27
+ * ```
28
+ * ### Create MACSec key with existing Secrets Manager secret
29
+ *
30
+ * ```typescript
31
+ * import * as pulumi from "@pulumi/pulumi";
32
+ * import * as aws from "@pulumi/aws";
33
+ *
34
+ * const exampleConnection = aws.directconnect.getConnection({
35
+ * name: "tf-dx-connection",
36
+ * });
37
+ * const exampleSecret = aws.secretsmanager.getSecret({
38
+ * name: "directconnect!prod/us-east-1/directconnect/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
39
+ * });
40
+ * const test = new aws.directconnect.MacsecKeyAssociation("test", {
41
+ * connectionId: exampleConnection.then(exampleConnection => exampleConnection.id),
42
+ * secretArn: exampleSecret.then(exampleSecret => exampleSecret.arn),
43
+ * });
44
+ * ```
45
+ */
46
+ export declare class MacsecKeyAssociation extends pulumi.CustomResource {
47
+ /**
48
+ * Get an existing MacsecKeyAssociation resource's state with the given name, ID, and optional extra
49
+ * properties used to qualify the lookup.
50
+ *
51
+ * @param name The _unique_ name of the resulting resource.
52
+ * @param id The _unique_ provider ID of the resource to lookup.
53
+ * @param state Any extra arguments used during the lookup.
54
+ * @param opts Optional settings to control the behavior of the CustomResource.
55
+ */
56
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MacsecKeyAssociationState, opts?: pulumi.CustomResourceOptions): MacsecKeyAssociation;
57
+ /**
58
+ * Returns true if the given object is an instance of MacsecKeyAssociation. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj: any): obj is MacsecKeyAssociation;
62
+ /**
63
+ * The MAC Security (MACsec) CAK to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `ckn`.
64
+ */
65
+ readonly cak: pulumi.Output<string | undefined>;
66
+ /**
67
+ * The MAC Security (MACsec) CKN to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `cak`.
68
+ */
69
+ readonly ckn: pulumi.Output<string>;
70
+ /**
71
+ * The ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state.
72
+ */
73
+ readonly connectionId: pulumi.Output<string>;
74
+ /**
75
+ * The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.
76
+ */
77
+ readonly secretArn: pulumi.Output<string>;
78
+ /**
79
+ * The date in UTC format that the MAC Security (MACsec) secret key takes effect.
80
+ */
81
+ readonly startOn: pulumi.Output<string>;
82
+ /**
83
+ * The state of the MAC Security (MACsec) secret key. The possible values are: associating, associated, disassociating, disassociated. See [MacSecKey](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_MacSecKey.html#DX-Type-MacSecKey-state) for descriptions of each state.
84
+ */
85
+ readonly state: pulumi.Output<string>;
86
+ /**
87
+ * Create a MacsecKeyAssociation resource with the given unique name, arguments, and options.
88
+ *
89
+ * @param name The _unique_ name of the resource.
90
+ * @param args The arguments to use to populate this resource's properties.
91
+ * @param opts A bag of options that control this resource's behavior.
92
+ */
93
+ constructor(name: string, args: MacsecKeyAssociationArgs, opts?: pulumi.CustomResourceOptions);
94
+ }
95
+ /**
96
+ * Input properties used for looking up and filtering MacsecKeyAssociation resources.
97
+ */
98
+ export interface MacsecKeyAssociationState {
99
+ /**
100
+ * The MAC Security (MACsec) CAK to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `ckn`.
101
+ */
102
+ cak?: pulumi.Input<string>;
103
+ /**
104
+ * The MAC Security (MACsec) CKN to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `cak`.
105
+ */
106
+ ckn?: pulumi.Input<string>;
107
+ /**
108
+ * The ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state.
109
+ */
110
+ connectionId?: pulumi.Input<string>;
111
+ /**
112
+ * The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.
113
+ */
114
+ secretArn?: pulumi.Input<string>;
115
+ /**
116
+ * The date in UTC format that the MAC Security (MACsec) secret key takes effect.
117
+ */
118
+ startOn?: pulumi.Input<string>;
119
+ /**
120
+ * The state of the MAC Security (MACsec) secret key. The possible values are: associating, associated, disassociating, disassociated. See [MacSecKey](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_MacSecKey.html#DX-Type-MacSecKey-state) for descriptions of each state.
121
+ */
122
+ state?: pulumi.Input<string>;
123
+ }
124
+ /**
125
+ * The set of arguments for constructing a MacsecKeyAssociation resource.
126
+ */
127
+ export interface MacsecKeyAssociationArgs {
128
+ /**
129
+ * The MAC Security (MACsec) CAK to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `ckn`.
130
+ */
131
+ cak?: pulumi.Input<string>;
132
+ /**
133
+ * The MAC Security (MACsec) CKN to associate with the dedicated connection. The valid values are 64 hexadecimal characters (0-9, A-E). Required if using `cak`.
134
+ */
135
+ ckn?: pulumi.Input<string>;
136
+ /**
137
+ * The ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state.
138
+ */
139
+ connectionId: pulumi.Input<string>;
140
+ /**
141
+ * The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.
142
+ */
143
+ secretArn?: pulumi.Input<string>;
144
+ }
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.MacsecKeyAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a MAC Security (MACSec) secret key resource for use with Direct Connect. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for information about MAC Security (MACsec) prerequisites.
10
+ *
11
+ * Creating this resource will also create a resource of type `aws.secretsmanager.Secret` which is managed by Direct Connect. While you can import this resource into your TODO state, because this secret is managed by Direct Connect, you will not be able to make any modifications to it. See [How AWS Direct Connect uses AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/integrating_how-services-use-secrets_directconnect.html) for details.
12
+ *
13
+ * > **Note:** All arguments including `ckn` and `cak` will be stored in the raw state as plain-text.
14
+ * Read more about sensitive data in state.
15
+ *
16
+ * > **Note:** The `secretArn` argument can only be used to reference a previously created MACSec key. You cannot associate a Secrets Manager secret created outside of the `awsDxMacsecKey` resource.
17
+ *
18
+ * ## Example Usage
19
+ * ### Create MACSec key with CKN and CAK
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as aws from "@pulumi/aws";
24
+ *
25
+ * const example = aws.directconnect.getConnection({
26
+ * name: "tf-dx-connection",
27
+ * });
28
+ * const test = new aws.directconnect.MacsecKeyAssociation("test", {
29
+ * connectionId: example.then(example => example.id),
30
+ * ckn: "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
31
+ * cak: "abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789",
32
+ * });
33
+ * ```
34
+ * ### Create MACSec key with existing Secrets Manager secret
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as aws from "@pulumi/aws";
39
+ *
40
+ * const exampleConnection = aws.directconnect.getConnection({
41
+ * name: "tf-dx-connection",
42
+ * });
43
+ * const exampleSecret = aws.secretsmanager.getSecret({
44
+ * name: "directconnect!prod/us-east-1/directconnect/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
45
+ * });
46
+ * const test = new aws.directconnect.MacsecKeyAssociation("test", {
47
+ * connectionId: exampleConnection.then(exampleConnection => exampleConnection.id),
48
+ * secretArn: exampleSecret.then(exampleSecret => exampleSecret.arn),
49
+ * });
50
+ * ```
51
+ */
52
+ class MacsecKeyAssociation extends pulumi.CustomResource {
53
+ /**
54
+ * Get an existing MacsecKeyAssociation resource's state with the given name, ID, and optional extra
55
+ * properties used to qualify the lookup.
56
+ *
57
+ * @param name The _unique_ name of the resulting resource.
58
+ * @param id The _unique_ provider ID of the resource to lookup.
59
+ * @param state Any extra arguments used during the lookup.
60
+ * @param opts Optional settings to control the behavior of the CustomResource.
61
+ */
62
+ static get(name, id, state, opts) {
63
+ return new MacsecKeyAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
64
+ }
65
+ /**
66
+ * Returns true if the given object is an instance of MacsecKeyAssociation. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj) {
70
+ if (obj === undefined || obj === null) {
71
+ return false;
72
+ }
73
+ return obj['__pulumiType'] === MacsecKeyAssociation.__pulumiType;
74
+ }
75
+ constructor(name, argsOrState, opts) {
76
+ let resourceInputs = {};
77
+ opts = opts || {};
78
+ if (opts.id) {
79
+ const state = argsOrState;
80
+ resourceInputs["cak"] = state ? state.cak : undefined;
81
+ resourceInputs["ckn"] = state ? state.ckn : undefined;
82
+ resourceInputs["connectionId"] = state ? state.connectionId : undefined;
83
+ resourceInputs["secretArn"] = state ? state.secretArn : undefined;
84
+ resourceInputs["startOn"] = state ? state.startOn : undefined;
85
+ resourceInputs["state"] = state ? state.state : undefined;
86
+ }
87
+ else {
88
+ const args = argsOrState;
89
+ if ((!args || args.connectionId === undefined) && !opts.urn) {
90
+ throw new Error("Missing required property 'connectionId'");
91
+ }
92
+ resourceInputs["cak"] = args ? args.cak : undefined;
93
+ resourceInputs["ckn"] = args ? args.ckn : undefined;
94
+ resourceInputs["connectionId"] = args ? args.connectionId : undefined;
95
+ resourceInputs["secretArn"] = args ? args.secretArn : undefined;
96
+ resourceInputs["startOn"] = undefined /*out*/;
97
+ resourceInputs["state"] = undefined /*out*/;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ super(MacsecKeyAssociation.__pulumiType, name, resourceInputs, opts);
101
+ }
102
+ }
103
+ exports.MacsecKeyAssociation = MacsecKeyAssociation;
104
+ /** @internal */
105
+ MacsecKeyAssociation.__pulumiType = 'aws:directconnect/macsecKeyAssociation:MacsecKeyAssociation';
106
+ //# sourceMappingURL=macsecKeyAssociation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"macsecKeyAssociation.js","sourceRoot":"","sources":["../../directconnect/macsecKeyAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE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C,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAtFL,oDAuFC;AAzEG,gBAAgB;AACO,iCAAY,GAAG,6DAA6D,CAAC"}
@@ -13,6 +13,12 @@ export declare const GameServerGroup: typeof import("./gameServerGroup").GameSer
13
13
  export { GameSessionQueueArgs, GameSessionQueueState } from "./gameSessionQueue";
14
14
  export type GameSessionQueue = import("./gameSessionQueue").GameSessionQueue;
15
15
  export declare const GameSessionQueue: typeof import("./gameSessionQueue").GameSessionQueue;
16
+ export { MatchmakingConfigurationArgs, MatchmakingConfigurationState } from "./matchmakingConfiguration";
17
+ export type MatchmakingConfiguration = import("./matchmakingConfiguration").MatchmakingConfiguration;
18
+ export declare const MatchmakingConfiguration: typeof import("./matchmakingConfiguration").MatchmakingConfiguration;
19
+ export { MatchmakingRuleSetArgs, MatchmakingRuleSetState } from "./matchmakingRuleSet";
20
+ export type MatchmakingRuleSet = import("./matchmakingRuleSet").MatchmakingRuleSet;
21
+ export declare const MatchmakingRuleSet: typeof import("./matchmakingRuleSet").MatchmakingRuleSet;
16
22
  export { ScriptArgs, ScriptState } from "./script";
17
23
  export type Script = import("./script").Script;
18
24
  export declare const Script: typeof import("./script").Script;