@pulumi/aws 6.63.0 → 6.64.0-alpha.1733493711

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.
Files changed (54) hide show
  1. package/bedrock/agentAgent.d.ts +12 -3
  2. package/bedrock/agentAgent.js.map +1 -1
  3. package/codeconnections/connection.d.ts +156 -0
  4. package/codeconnections/connection.js +92 -0
  5. package/codeconnections/connection.js.map +1 -0
  6. package/codeconnections/host.d.ts +146 -0
  7. package/codeconnections/host.js +97 -0
  8. package/codeconnections/host.js.map +1 -0
  9. package/codeconnections/index.d.ts +6 -0
  10. package/codeconnections/index.js +27 -0
  11. package/codeconnections/index.js.map +1 -0
  12. package/dynamodb/tableReplica.d.ts +15 -3
  13. package/dynamodb/tableReplica.js +2 -0
  14. package/dynamodb/tableReplica.js.map +1 -1
  15. package/iam/policyAttachment.d.ts +10 -0
  16. package/iam/policyAttachment.js +10 -0
  17. package/iam/policyAttachment.js.map +1 -1
  18. package/index.d.ts +3 -1
  19. package/index.js +8 -4
  20. package/index.js.map +1 -1
  21. package/package.json +2 -2
  22. package/rds/clusterInstance.d.ts +12 -0
  23. package/rds/clusterInstance.js +2 -0
  24. package/rds/clusterInstance.js.map +1 -1
  25. package/rds/parameterGroup.d.ts +0 -39
  26. package/rds/parameterGroup.js +0 -39
  27. package/rds/parameterGroup.js.map +1 -1
  28. package/s3tables/index.d.ts +15 -0
  29. package/s3tables/index.js +42 -0
  30. package/s3tables/index.js.map +1 -0
  31. package/s3tables/namespace.d.ts +116 -0
  32. package/s3tables/namespace.js +89 -0
  33. package/s3tables/namespace.js.map +1 -0
  34. package/s3tables/table.d.ts +236 -0
  35. package/s3tables/table.js +118 -0
  36. package/s3tables/table.js.map +1 -0
  37. package/s3tables/tableBucket.d.ts +126 -0
  38. package/s3tables/tableBucket.js +79 -0
  39. package/s3tables/tableBucket.js.map +1 -0
  40. package/s3tables/tableBucketPolicy.d.ts +89 -0
  41. package/s3tables/tableBucketPolicy.js +86 -0
  42. package/s3tables/tableBucketPolicy.js.map +1 -0
  43. package/s3tables/tablePolicy.d.ts +109 -0
  44. package/s3tables/tablePolicy.js +77 -0
  45. package/s3tables/tablePolicy.js.map +1 -0
  46. package/securityhub/standardsControlAssociation.d.ts +1 -1
  47. package/securityhub/standardsControlAssociation.js +1 -1
  48. package/types/enums/lambda/index.d.ts +11 -2
  49. package/types/enums/lambda/index.js +11 -2
  50. package/types/enums/lambda/index.js.map +1 -1
  51. package/types/input.d.ts +144 -4
  52. package/types/input.js.map +1 -1
  53. package/types/output.d.ts +144 -4
  54. package/types/output.js.map +1 -1
@@ -116,13 +116,16 @@ export declare class AgentAgent extends pulumi.CustomResource {
116
116
  * The following arguments are optional:
117
117
  */
118
118
  readonly foundationModel: pulumi.Output<string>;
119
+ /**
120
+ * Details about the guardrail associated with the agent. See `guardrailConfiguration` Block for details.
121
+ */
119
122
  readonly guardrailConfigurations: pulumi.Output<outputs.bedrock.AgentAgentGuardrailConfiguration[] | undefined>;
120
123
  /**
121
124
  * Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
122
125
  */
123
126
  readonly idleSessionTtlInSeconds: pulumi.Output<number>;
124
127
  /**
125
- * Instructions that tell the agent what it should do and how it should interact with users.
128
+ * Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 8000 characters.
126
129
  */
127
130
  readonly instruction: pulumi.Output<string>;
128
131
  /**
@@ -199,13 +202,16 @@ export interface AgentAgentState {
199
202
  * The following arguments are optional:
200
203
  */
201
204
  foundationModel?: pulumi.Input<string>;
205
+ /**
206
+ * Details about the guardrail associated with the agent. See `guardrailConfiguration` Block for details.
207
+ */
202
208
  guardrailConfigurations?: pulumi.Input<pulumi.Input<inputs.bedrock.AgentAgentGuardrailConfiguration>[]>;
203
209
  /**
204
210
  * Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
205
211
  */
206
212
  idleSessionTtlInSeconds?: pulumi.Input<number>;
207
213
  /**
208
- * Instructions that tell the agent what it should do and how it should interact with users.
214
+ * Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 8000 characters.
209
215
  */
210
216
  instruction?: pulumi.Input<string>;
211
217
  /**
@@ -262,13 +268,16 @@ export interface AgentAgentArgs {
262
268
  * The following arguments are optional:
263
269
  */
264
270
  foundationModel: pulumi.Input<string>;
271
+ /**
272
+ * Details about the guardrail associated with the agent. See `guardrailConfiguration` Block for details.
273
+ */
265
274
  guardrailConfigurations?: pulumi.Input<pulumi.Input<inputs.bedrock.AgentAgentGuardrailConfiguration>[]>;
266
275
  /**
267
276
  * Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
268
277
  */
269
278
  idleSessionTtlInSeconds?: pulumi.Input<number>;
270
279
  /**
271
- * Instructions that tell the agent what it should do and how it should interact with users.
280
+ * Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 8000 characters.
272
281
  */
273
282
  instruction?: pulumi.Input<string>;
274
283
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"agentAgent.js","sourceRoot":"","sources":["../../bedrock/agentAgent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO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AAO,CAAC;SACjD;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;;AA/JL,gCAgKC;AAlJG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
@@ -0,0 +1,156 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for managing an AWS CodeConnections Connection.
6
+ *
7
+ * > **NOTE:** The `aws.codeconnections.Connection` resource is created in the state `PENDING`. Authentication with the connection provider must be completed in the AWS Console. See the [AWS documentation](https://docs.aws.amazon.com/dtconsole/latest/userguide/connections-update.html) for details.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ### Basic Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.codeconnections.Connection("example", {
18
+ * name: "example-connection",
19
+ * providerType: "Bitbucket",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * Using `pulumi import`, import CodeConnections connection using the ARN. For example:
26
+ *
27
+ * ```sh
28
+ * $ pulumi import aws:codeconnections/connection:Connection test-connection arn:aws:codeconnections:us-west-1:0123456789:connection/79d4d357-a2ee-41e4-b350-2fe39ae59448
29
+ * ```
30
+ */
31
+ export declare class Connection extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Connection resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectionState, opts?: pulumi.CustomResourceOptions): Connection;
42
+ /**
43
+ * Returns true if the given object is an instance of Connection. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is Connection;
47
+ /**
48
+ * The codeconnections connection ARN.
49
+ */
50
+ readonly arn: pulumi.Output<string>;
51
+ /**
52
+ * The codeconnections connection status. Possible values are `PENDING`, `AVAILABLE` and `ERROR`.
53
+ */
54
+ readonly connectionStatus: pulumi.Output<string>;
55
+ /**
56
+ * The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `providerType`
57
+ */
58
+ readonly hostArn: pulumi.Output<string | undefined>;
59
+ /**
60
+ * The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.
61
+ */
62
+ readonly name: pulumi.Output<string>;
63
+ readonly ownerAccountId: pulumi.Output<string>;
64
+ /**
65
+ * The name of the external provider where your third-party code repository is configured. Changing `providerType` will create a new resource. Conflicts with `hostArn`.
66
+ */
67
+ readonly providerType: pulumi.Output<string>;
68
+ /**
69
+ * Map of key-value resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
70
+ */
71
+ readonly tags: pulumi.Output<{
72
+ [key: string]: string;
73
+ } | undefined>;
74
+ /**
75
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
76
+ *
77
+ * @deprecated Please use `tags` instead.
78
+ */
79
+ readonly tagsAll: pulumi.Output<{
80
+ [key: string]: string;
81
+ }>;
82
+ readonly timeouts: pulumi.Output<outputs.codeconnections.ConnectionTimeouts | undefined>;
83
+ /**
84
+ * Create a Connection resource with the given unique name, arguments, and options.
85
+ *
86
+ * @param name The _unique_ name of the resource.
87
+ * @param args The arguments to use to populate this resource's properties.
88
+ * @param opts A bag of options that control this resource's behavior.
89
+ */
90
+ constructor(name: string, args?: ConnectionArgs, opts?: pulumi.CustomResourceOptions);
91
+ }
92
+ /**
93
+ * Input properties used for looking up and filtering Connection resources.
94
+ */
95
+ export interface ConnectionState {
96
+ /**
97
+ * The codeconnections connection ARN.
98
+ */
99
+ arn?: pulumi.Input<string>;
100
+ /**
101
+ * The codeconnections connection status. Possible values are `PENDING`, `AVAILABLE` and `ERROR`.
102
+ */
103
+ connectionStatus?: pulumi.Input<string>;
104
+ /**
105
+ * The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `providerType`
106
+ */
107
+ hostArn?: pulumi.Input<string>;
108
+ /**
109
+ * The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.
110
+ */
111
+ name?: pulumi.Input<string>;
112
+ ownerAccountId?: pulumi.Input<string>;
113
+ /**
114
+ * The name of the external provider where your third-party code repository is configured. Changing `providerType` will create a new resource. Conflicts with `hostArn`.
115
+ */
116
+ providerType?: pulumi.Input<string>;
117
+ /**
118
+ * Map of key-value resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
119
+ */
120
+ tags?: pulumi.Input<{
121
+ [key: string]: pulumi.Input<string>;
122
+ }>;
123
+ /**
124
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
125
+ *
126
+ * @deprecated Please use `tags` instead.
127
+ */
128
+ tagsAll?: pulumi.Input<{
129
+ [key: string]: pulumi.Input<string>;
130
+ }>;
131
+ timeouts?: pulumi.Input<inputs.codeconnections.ConnectionTimeouts>;
132
+ }
133
+ /**
134
+ * The set of arguments for constructing a Connection resource.
135
+ */
136
+ export interface ConnectionArgs {
137
+ /**
138
+ * The Amazon Resource Name (ARN) of the host associated with the connection. Conflicts with `providerType`
139
+ */
140
+ hostArn?: pulumi.Input<string>;
141
+ /**
142
+ * The name of the connection to be created. The name must be unique in the calling AWS account. Changing `name` will create a new resource.
143
+ */
144
+ name?: pulumi.Input<string>;
145
+ /**
146
+ * The name of the external provider where your third-party code repository is configured. Changing `providerType` will create a new resource. Conflicts with `hostArn`.
147
+ */
148
+ providerType?: pulumi.Input<string>;
149
+ /**
150
+ * Map of key-value resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
151
+ */
152
+ tags?: pulumi.Input<{
153
+ [key: string]: pulumi.Input<string>;
154
+ }>;
155
+ timeouts?: pulumi.Input<inputs.codeconnections.ConnectionTimeouts>;
156
+ }
@@ -0,0 +1,92 @@
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.Connection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS CodeConnections Connection.
10
+ *
11
+ * > **NOTE:** The `aws.codeconnections.Connection` resource is created in the state `PENDING`. Authentication with the connection provider must be completed in the AWS Console. See the [AWS documentation](https://docs.aws.amazon.com/dtconsole/latest/userguide/connections-update.html) for details.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ### Basic Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as aws from "@pulumi/aws";
20
+ *
21
+ * const example = new aws.codeconnections.Connection("example", {
22
+ * name: "example-connection",
23
+ * providerType: "Bitbucket",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * Using `pulumi import`, import CodeConnections connection using the ARN. For example:
30
+ *
31
+ * ```sh
32
+ * $ pulumi import aws:codeconnections/connection:Connection test-connection arn:aws:codeconnections:us-west-1:0123456789:connection/79d4d357-a2ee-41e4-b350-2fe39ae59448
33
+ * ```
34
+ */
35
+ class Connection extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing Connection resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name, id, state, opts) {
46
+ return new Connection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of Connection. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === Connection.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["arn"] = state ? state.arn : undefined;
64
+ resourceInputs["connectionStatus"] = state ? state.connectionStatus : undefined;
65
+ resourceInputs["hostArn"] = state ? state.hostArn : undefined;
66
+ resourceInputs["name"] = state ? state.name : undefined;
67
+ resourceInputs["ownerAccountId"] = state ? state.ownerAccountId : undefined;
68
+ resourceInputs["providerType"] = state ? state.providerType : undefined;
69
+ resourceInputs["tags"] = state ? state.tags : undefined;
70
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
71
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
72
+ }
73
+ else {
74
+ const args = argsOrState;
75
+ resourceInputs["hostArn"] = args ? args.hostArn : undefined;
76
+ resourceInputs["name"] = args ? args.name : undefined;
77
+ resourceInputs["providerType"] = args ? args.providerType : undefined;
78
+ resourceInputs["tags"] = args ? args.tags : undefined;
79
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
80
+ resourceInputs["arn"] = undefined /*out*/;
81
+ resourceInputs["connectionStatus"] = undefined /*out*/;
82
+ resourceInputs["ownerAccountId"] = undefined /*out*/;
83
+ resourceInputs["tagsAll"] = undefined /*out*/;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ super(Connection.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+ exports.Connection = Connection;
90
+ /** @internal */
91
+ Connection.__pulumiType = 'aws:codeconnections/connection:Connection';
92
+ //# sourceMappingURL=connection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connection.js","sourceRoot":"","sources":["../../codeconnections/connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA2CD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAA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GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;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;;AAjGL,gCAkGC;AApFG,gBAAgB;AACO,uBAAY,GAAG,2CAA2C,CAAC"}
@@ -0,0 +1,146 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for managing an AWS CodeConnections Host.
6
+ *
7
+ * > **NOTE:** The `aws.codeconnections.Host` resource is created in the state `PENDING`. Authentication with the host provider must be completed in the AWS Console. For more information visit [Set up a pending host](https://docs.aws.amazon.com/dtconsole/latest/userguide/connections-host-setup.html).
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ### Basic Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.codeconnections.Host("example", {
18
+ * name: "example-host",
19
+ * providerEndpoint: "https://example.com",
20
+ * providerType: "GitHubEnterpriseServer",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * Using `pulumi import`, import CodeConnections Host using the ARN. For example:
27
+ *
28
+ * ```sh
29
+ * $ pulumi import aws:codeconnections/host:Host example-host arn:aws:codeconnections:us-west-1:0123456789:host/79d4d357-a2ee-41e4-b350-2fe39ae59448
30
+ * ```
31
+ */
32
+ export declare class Host extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing Host resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HostState, opts?: pulumi.CustomResourceOptions): Host;
43
+ /**
44
+ * Returns true if the given object is an instance of Host. This is designed to work even
45
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
46
+ */
47
+ static isInstance(obj: any): obj is Host;
48
+ /**
49
+ * The CodeConnections Host ARN.
50
+ */
51
+ readonly arn: pulumi.Output<string>;
52
+ /**
53
+ * The name of the host to be created. The name must be unique in the calling AWS account.
54
+ */
55
+ readonly name: pulumi.Output<string>;
56
+ /**
57
+ * The endpoint of the infrastructure to be represented by the host after it is created.
58
+ */
59
+ readonly providerEndpoint: pulumi.Output<string>;
60
+ /**
61
+ * The name of the external provider where your third-party code repository is configured.
62
+ */
63
+ readonly providerType: pulumi.Output<string>;
64
+ readonly tags: pulumi.Output<{
65
+ [key: string]: string;
66
+ } | undefined>;
67
+ /**
68
+ * @deprecated Please use `tags` instead.
69
+ */
70
+ readonly tagsAll: pulumi.Output<{
71
+ [key: string]: string;
72
+ }>;
73
+ readonly timeouts: pulumi.Output<outputs.codeconnections.HostTimeouts | undefined>;
74
+ /**
75
+ * The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
76
+ */
77
+ readonly vpcConfiguration: pulumi.Output<outputs.codeconnections.HostVpcConfiguration | undefined>;
78
+ /**
79
+ * Create a Host resource with the given unique name, arguments, and options.
80
+ *
81
+ * @param name The _unique_ name of the resource.
82
+ * @param args The arguments to use to populate this resource's properties.
83
+ * @param opts A bag of options that control this resource's behavior.
84
+ */
85
+ constructor(name: string, args: HostArgs, opts?: pulumi.CustomResourceOptions);
86
+ }
87
+ /**
88
+ * Input properties used for looking up and filtering Host resources.
89
+ */
90
+ export interface HostState {
91
+ /**
92
+ * The CodeConnections Host ARN.
93
+ */
94
+ arn?: pulumi.Input<string>;
95
+ /**
96
+ * The name of the host to be created. The name must be unique in the calling AWS account.
97
+ */
98
+ name?: pulumi.Input<string>;
99
+ /**
100
+ * The endpoint of the infrastructure to be represented by the host after it is created.
101
+ */
102
+ providerEndpoint?: pulumi.Input<string>;
103
+ /**
104
+ * The name of the external provider where your third-party code repository is configured.
105
+ */
106
+ providerType?: pulumi.Input<string>;
107
+ tags?: pulumi.Input<{
108
+ [key: string]: pulumi.Input<string>;
109
+ }>;
110
+ /**
111
+ * @deprecated Please use `tags` instead.
112
+ */
113
+ tagsAll?: pulumi.Input<{
114
+ [key: string]: pulumi.Input<string>;
115
+ }>;
116
+ timeouts?: pulumi.Input<inputs.codeconnections.HostTimeouts>;
117
+ /**
118
+ * The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
119
+ */
120
+ vpcConfiguration?: pulumi.Input<inputs.codeconnections.HostVpcConfiguration>;
121
+ }
122
+ /**
123
+ * The set of arguments for constructing a Host resource.
124
+ */
125
+ export interface HostArgs {
126
+ /**
127
+ * The name of the host to be created. The name must be unique in the calling AWS account.
128
+ */
129
+ name?: pulumi.Input<string>;
130
+ /**
131
+ * The endpoint of the infrastructure to be represented by the host after it is created.
132
+ */
133
+ providerEndpoint: pulumi.Input<string>;
134
+ /**
135
+ * The name of the external provider where your third-party code repository is configured.
136
+ */
137
+ providerType: pulumi.Input<string>;
138
+ tags?: pulumi.Input<{
139
+ [key: string]: pulumi.Input<string>;
140
+ }>;
141
+ timeouts?: pulumi.Input<inputs.codeconnections.HostTimeouts>;
142
+ /**
143
+ * The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.
144
+ */
145
+ vpcConfiguration?: pulumi.Input<inputs.codeconnections.HostVpcConfiguration>;
146
+ }
@@ -0,0 +1,97 @@
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.Host = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS CodeConnections Host.
10
+ *
11
+ * > **NOTE:** The `aws.codeconnections.Host` resource is created in the state `PENDING`. Authentication with the host provider must be completed in the AWS Console. For more information visit [Set up a pending host](https://docs.aws.amazon.com/dtconsole/latest/userguide/connections-host-setup.html).
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ### Basic Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as aws from "@pulumi/aws";
20
+ *
21
+ * const example = new aws.codeconnections.Host("example", {
22
+ * name: "example-host",
23
+ * providerEndpoint: "https://example.com",
24
+ * providerType: "GitHubEnterpriseServer",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * Using `pulumi import`, import CodeConnections Host using the ARN. For example:
31
+ *
32
+ * ```sh
33
+ * $ pulumi import aws:codeconnections/host:Host example-host arn:aws:codeconnections:us-west-1:0123456789:host/79d4d357-a2ee-41e4-b350-2fe39ae59448
34
+ * ```
35
+ */
36
+ class Host extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing Host resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, state, opts) {
47
+ return new Host(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of Host. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === Host.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["arn"] = state ? state.arn : undefined;
65
+ resourceInputs["name"] = state ? state.name : undefined;
66
+ resourceInputs["providerEndpoint"] = state ? state.providerEndpoint : undefined;
67
+ resourceInputs["providerType"] = state ? state.providerType : undefined;
68
+ resourceInputs["tags"] = state ? state.tags : undefined;
69
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
70
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
71
+ resourceInputs["vpcConfiguration"] = state ? state.vpcConfiguration : undefined;
72
+ }
73
+ else {
74
+ const args = argsOrState;
75
+ if ((!args || args.providerEndpoint === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'providerEndpoint'");
77
+ }
78
+ if ((!args || args.providerType === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'providerType'");
80
+ }
81
+ resourceInputs["name"] = args ? args.name : undefined;
82
+ resourceInputs["providerEndpoint"] = args ? args.providerEndpoint : undefined;
83
+ resourceInputs["providerType"] = args ? args.providerType : undefined;
84
+ resourceInputs["tags"] = args ? args.tags : undefined;
85
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
86
+ resourceInputs["vpcConfiguration"] = args ? args.vpcConfiguration : undefined;
87
+ resourceInputs["arn"] = undefined /*out*/;
88
+ resourceInputs["tagsAll"] = undefined /*out*/;
89
+ }
90
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
+ super(Host.__pulumiType, name, resourceInputs, opts);
92
+ }
93
+ }
94
+ exports.Host = Host;
95
+ /** @internal */
96
+ Host.__pulumiType = 'aws:codeconnections/host:Host';
97
+ //# sourceMappingURL=host.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host.js","sourceRoot":"","sources":["../../codeconnections/host.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IAqCD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,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c,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA/FL,oBAgGC;AAlFG,gBAAgB;AACO,iBAAY,GAAG,+BAA+B,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { ConnectionArgs, ConnectionState } from "./connection";
2
+ export type Connection = import("./connection").Connection;
3
+ export declare const Connection: typeof import("./connection").Connection;
4
+ export { HostArgs, HostState } from "./host";
5
+ export type Host = import("./host").Host;
6
+ export declare const Host: typeof import("./host").Host;
@@ -0,0 +1,27 @@
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.Host = exports.Connection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.Connection = null;
9
+ utilities.lazyLoad(exports, ["Connection"], () => require("./connection"));
10
+ exports.Host = null;
11
+ utilities.lazyLoad(exports, ["Host"], () => require("./host"));
12
+ const _module = {
13
+ version: utilities.getVersion(),
14
+ construct: (name, type, urn) => {
15
+ switch (type) {
16
+ case "aws:codeconnections/connection:Connection":
17
+ return new exports.Connection(name, undefined, { urn });
18
+ case "aws:codeconnections/host:Host":
19
+ return new exports.Host(name, undefined, { urn });
20
+ default:
21
+ throw new Error(`unknown resource type ${type}`);
22
+ }
23
+ },
24
+ };
25
+ pulumi.runtime.registerResourceModule("aws", "codeconnections/connection", _module);
26
+ pulumi.runtime.registerResourceModule("aws", "codeconnections/host", _module);
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../codeconnections/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,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,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAG/D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,+BAA+B;gBAChC,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}