@pulumi/aws 7.9.0-alpha.1760704543 → 7.9.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.
- package/amp/index.d.ts +3 -0
- package/amp/index.js +6 -1
- package/amp/index.js.map +1 -1
- package/amp/resourcePolicy.d.ts +214 -0
- package/amp/resourcePolicy.js +182 -0
- package/amp/resourcePolicy.js.map +1 -0
- package/bedrock/agentcoreAgentRuntime.d.ts +356 -0
- package/bedrock/agentcoreAgentRuntime.js +198 -0
- package/bedrock/agentcoreAgentRuntime.js.map +1 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.d.ts +173 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.js +96 -0
- package/bedrock/agentcoreAgentRuntimeEndpoint.js.map +1 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.d.ts +133 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.js +84 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.js.map +1 -0
- package/bedrock/agentcoreBrowser.d.ts +231 -0
- package/bedrock/agentcoreBrowser.js +135 -0
- package/bedrock/agentcoreBrowser.js.map +1 -0
- package/bedrock/agentcoreCodeInterpreter.d.ts +211 -0
- package/bedrock/agentcoreCodeInterpreter.js +125 -0
- package/bedrock/agentcoreCodeInterpreter.js.map +1 -0
- package/bedrock/agentcoreGateway.d.ts +317 -0
- package/bedrock/agentcoreGateway.js +178 -0
- package/bedrock/agentcoreGateway.js.map +1 -0
- package/bedrock/agentcoreGatewayTarget.d.ts +294 -0
- package/bedrock/agentcoreGatewayTarget.js +233 -0
- package/bedrock/agentcoreGatewayTarget.js.map +1 -0
- package/bedrock/index.d.ts +21 -0
- package/bedrock/index.js +36 -1
- package/bedrock/index.js.map +1 -1
- package/cloudwatch/metricAlarm.d.ts +39 -7
- package/cloudwatch/metricAlarm.js +36 -4
- package/cloudwatch/metricAlarm.js.map +1 -1
- package/codebuild/project.d.ts +15 -0
- package/codebuild/project.js +2 -0
- package/codebuild/project.js.map +1 -1
- package/datazone/environment.d.ts +10 -6
- package/datazone/environment.js +1 -3
- package/datazone/environment.js.map +1 -1
- package/dms/endpoint.d.ts +3 -3
- package/ec2/getVpnConnection.d.ts +173 -0
- package/ec2/getVpnConnection.js +92 -0
- package/ec2/getVpnConnection.js.map +1 -0
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +6 -3
- package/ec2/index.js.map +1 -1
- package/ec2/route.d.ts +0 -8
- package/ec2/route.js +0 -8
- package/ec2/route.js.map +1 -1
- package/ec2/routeTable.d.ts +6 -6
- package/ec2/routeTable.js +0 -6
- package/ec2/routeTable.js.map +1 -1
- package/ec2transitgateway/getDirectConnectGatewayAttachment.d.ts +4 -0
- package/ec2transitgateway/getDirectConnectGatewayAttachment.js +4 -0
- package/ec2transitgateway/getDirectConnectGatewayAttachment.js.map +1 -1
- package/ec2transitgateway/getVpcAttachment.d.ts +4 -0
- package/ec2transitgateway/getVpcAttachment.js +4 -0
- package/ec2transitgateway/getVpcAttachment.js.map +1 -1
- package/ec2transitgateway/routeTableAssociation.d.ts +57 -0
- package/ec2transitgateway/routeTableAssociation.js +57 -0
- package/ec2transitgateway/routeTableAssociation.js.map +1 -1
- package/ec2transitgateway/routeTablePropagation.d.ts +57 -0
- package/ec2transitgateway/routeTablePropagation.js +57 -0
- package/ec2transitgateway/routeTablePropagation.js.map +1 -1
- package/emrserverless/application.d.ts +12 -0
- package/emrserverless/application.js +2 -0
- package/emrserverless/application.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/lakeformation/permissions.d.ts +14 -10
- package/lakeformation/permissions.js +14 -10
- package/lakeformation/permissions.js.map +1 -1
- package/odb/cloudAutonomousVmCluster.d.ts +6 -6
- package/odb/cloudAutonomousVmCluster.js +6 -6
- package/odb/cloudExadataInfrastructure.d.ts +2 -2
- package/odb/cloudVmCluster.d.ts +6 -6
- package/odb/cloudVmCluster.js +6 -6
- package/odb/getCloudAutonomousVmClusters.d.ts +68 -0
- package/odb/getCloudAutonomousVmClusters.js +56 -0
- package/odb/getCloudAutonomousVmClusters.js.map +1 -0
- package/odb/getCloudExadataInfrastructures.d.ts +68 -0
- package/odb/getCloudExadataInfrastructures.js +56 -0
- package/odb/getCloudExadataInfrastructures.js.map +1 -0
- package/odb/getCloudVmClusters.d.ts +68 -0
- package/odb/getCloudVmClusters.js +56 -0
- package/odb/getCloudVmClusters.js.map +1 -0
- package/odb/getDbSystemShapes.d.ts +1 -1
- package/odb/getNetworkPeeringConnection.d.ts +3 -3
- package/odb/getNetworkPeeringConnections.d.ts +77 -0
- package/odb/getNetworkPeeringConnections.js +58 -0
- package/odb/getNetworkPeeringConnections.js.map +1 -0
- package/odb/getNetworks.d.ts +64 -0
- package/odb/getNetworks.js +52 -0
- package/odb/getNetworks.js.map +1 -0
- package/odb/index.d.ts +15 -0
- package/odb/index.js +16 -1
- package/odb/index.js.map +1 -1
- package/package.json +2 -2
- package/quicksight/accountSubscription.d.ts +37 -1
- package/quicksight/accountSubscription.js +7 -1
- package/quicksight/accountSubscription.js.map +1 -1
- package/rds/getGlobalCluster.d.ts +123 -0
- package/rds/getGlobalCluster.js +56 -0
- package/rds/getGlobalCluster.js.map +1 -0
- package/rds/index.d.ts +3 -0
- package/rds/index.js +5 -2
- package/rds/index.js.map +1 -1
- package/servicediscovery/service.d.ts +4 -4
- package/servicediscovery/service.js +1 -1
- package/ssm/defaultPatchBaseline.d.ts +3 -0
- package/ssm/defaultPatchBaseline.js.map +1 -1
- package/ssmcontacts/contact.d.ts +9 -3
- package/ssmcontacts/contact.js +9 -3
- package/ssmcontacts/contact.js.map +1 -1
- package/transfer/hostKey.d.ts +151 -0
- package/transfer/hostKey.js +83 -0
- package/transfer/hostKey.js.map +1 -0
- package/transfer/index.d.ts +9 -0
- package/transfer/index.js +16 -1
- package/transfer/index.js.map +1 -1
- package/transfer/webApp.d.ts +239 -0
- package/transfer/webApp.js +157 -0
- package/transfer/webApp.js.map +1 -0
- package/transfer/webAppCustomization.d.ts +97 -0
- package/transfer/webAppCustomization.js +73 -0
- package/transfer/webAppCustomization.js.map +1 -0
- package/types/input.d.ts +997 -2
- package/types/input.js.map +1 -1
- package/types/output.d.ts +1342 -160
- package/types/output.js.map +1 -1
- package/vpclattice/resourceGateway.d.ts +12 -0
- package/vpclattice/resourceGateway.js +2 -0
- package/vpclattice/resourceGateway.js.map +1 -1
- package/vpn/getConnection.d.ts +175 -0
- package/vpn/getConnection.js +96 -0
- package/vpn/getConnection.js.map +1 -0
- package/vpn/index.d.ts +3 -0
- package/vpn/index.js +10 -0
- package/vpn/index.js.map +1 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an AWS Bedrock AgentCore Agent Runtime Endpoint. Agent Runtime Endpoints provide a network-accessible interface for interacting with agent runtimes, enabling external systems to communicate with and invoke agent capabilities.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Basic Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.bedrock.AgentcoreAgentRuntimeEndpoint("example", {
|
|
16
|
+
* name: "example-endpoint",
|
|
17
|
+
* agentRuntimeId: exampleAwsBedrockagentcoreAgentRuntime.agentRuntimeId,
|
|
18
|
+
* description: "Endpoint for agent runtime communication",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Using `pulumi import`, import Bedrock AgentCore Agent Runtime Endpoint using the `agent_runtime_id` and `name` separated by a comma. For example:
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import aws:bedrock/agentcoreAgentRuntimeEndpoint:AgentcoreAgentRuntimeEndpoint example AGENTRUNTIME1234567890,example-endpoint
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class AgentcoreAgentRuntimeEndpoint extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing AgentcoreAgentRuntimeEndpoint resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentcoreAgentRuntimeEndpointState, opts?: pulumi.CustomResourceOptions): AgentcoreAgentRuntimeEndpoint;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of AgentcoreAgentRuntimeEndpoint. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is AgentcoreAgentRuntimeEndpoint;
|
|
46
|
+
/**
|
|
47
|
+
* ARN of the associated Agent Runtime.
|
|
48
|
+
*/
|
|
49
|
+
readonly agentRuntimeArn: pulumi.Output<string>;
|
|
50
|
+
readonly agentRuntimeEndpointArn: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* ID of the agent runtime this endpoint belongs to.
|
|
53
|
+
*
|
|
54
|
+
* The following arguments are optional:
|
|
55
|
+
*/
|
|
56
|
+
readonly agentRuntimeId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Version of the agent runtime to use for this endpoint.
|
|
59
|
+
*/
|
|
60
|
+
readonly agentRuntimeVersion: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Description of the agent runtime endpoint.
|
|
63
|
+
*/
|
|
64
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Name of the agent runtime endpoint.
|
|
67
|
+
*/
|
|
68
|
+
readonly name: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
71
|
+
*/
|
|
72
|
+
readonly region: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
75
|
+
*/
|
|
76
|
+
readonly tags: pulumi.Output<{
|
|
77
|
+
[key: string]: string;
|
|
78
|
+
} | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
81
|
+
*/
|
|
82
|
+
readonly tagsAll: pulumi.Output<{
|
|
83
|
+
[key: string]: string;
|
|
84
|
+
}>;
|
|
85
|
+
readonly timeouts: pulumi.Output<outputs.bedrock.AgentcoreAgentRuntimeEndpointTimeouts | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Create a AgentcoreAgentRuntimeEndpoint 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: AgentcoreAgentRuntimeEndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Input properties used for looking up and filtering AgentcoreAgentRuntimeEndpoint resources.
|
|
97
|
+
*/
|
|
98
|
+
export interface AgentcoreAgentRuntimeEndpointState {
|
|
99
|
+
/**
|
|
100
|
+
* ARN of the associated Agent Runtime.
|
|
101
|
+
*/
|
|
102
|
+
agentRuntimeArn?: pulumi.Input<string>;
|
|
103
|
+
agentRuntimeEndpointArn?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* ID of the agent runtime this endpoint belongs to.
|
|
106
|
+
*
|
|
107
|
+
* The following arguments are optional:
|
|
108
|
+
*/
|
|
109
|
+
agentRuntimeId?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Version of the agent runtime to use for this endpoint.
|
|
112
|
+
*/
|
|
113
|
+
agentRuntimeVersion?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Description of the agent runtime endpoint.
|
|
116
|
+
*/
|
|
117
|
+
description?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Name of the agent runtime endpoint.
|
|
120
|
+
*/
|
|
121
|
+
name?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
124
|
+
*/
|
|
125
|
+
region?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
128
|
+
*/
|
|
129
|
+
tags?: pulumi.Input<{
|
|
130
|
+
[key: string]: pulumi.Input<string>;
|
|
131
|
+
}>;
|
|
132
|
+
/**
|
|
133
|
+
* A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
134
|
+
*/
|
|
135
|
+
tagsAll?: pulumi.Input<{
|
|
136
|
+
[key: string]: pulumi.Input<string>;
|
|
137
|
+
}>;
|
|
138
|
+
timeouts?: pulumi.Input<inputs.bedrock.AgentcoreAgentRuntimeEndpointTimeouts>;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The set of arguments for constructing a AgentcoreAgentRuntimeEndpoint resource.
|
|
142
|
+
*/
|
|
143
|
+
export interface AgentcoreAgentRuntimeEndpointArgs {
|
|
144
|
+
/**
|
|
145
|
+
* ID of the agent runtime this endpoint belongs to.
|
|
146
|
+
*
|
|
147
|
+
* The following arguments are optional:
|
|
148
|
+
*/
|
|
149
|
+
agentRuntimeId: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Version of the agent runtime to use for this endpoint.
|
|
152
|
+
*/
|
|
153
|
+
agentRuntimeVersion?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Description of the agent runtime endpoint.
|
|
156
|
+
*/
|
|
157
|
+
description?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Name of the agent runtime endpoint.
|
|
160
|
+
*/
|
|
161
|
+
name?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
164
|
+
*/
|
|
165
|
+
region?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
168
|
+
*/
|
|
169
|
+
tags?: pulumi.Input<{
|
|
170
|
+
[key: string]: pulumi.Input<string>;
|
|
171
|
+
}>;
|
|
172
|
+
timeouts?: pulumi.Input<inputs.bedrock.AgentcoreAgentRuntimeEndpointTimeouts>;
|
|
173
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.AgentcoreAgentRuntimeEndpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AWS Bedrock AgentCore Agent Runtime Endpoint. Agent Runtime Endpoints provide a network-accessible interface for interacting with agent runtimes, enabling external systems to communicate with and invoke agent capabilities.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.bedrock.AgentcoreAgentRuntimeEndpoint("example", {
|
|
20
|
+
* name: "example-endpoint",
|
|
21
|
+
* agentRuntimeId: exampleAwsBedrockagentcoreAgentRuntime.agentRuntimeId,
|
|
22
|
+
* description: "Endpoint for agent runtime communication",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Using `pulumi import`, import Bedrock AgentCore Agent Runtime Endpoint using the `agent_runtime_id` and `name` separated by a comma. For example:
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aws:bedrock/agentcoreAgentRuntimeEndpoint:AgentcoreAgentRuntimeEndpoint example AGENTRUNTIME1234567890,example-endpoint
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class AgentcoreAgentRuntimeEndpoint extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing AgentcoreAgentRuntimeEndpoint resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new AgentcoreAgentRuntimeEndpoint(name, state, { ...opts, id: id });
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of AgentcoreAgentRuntimeEndpoint. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === AgentcoreAgentRuntimeEndpoint.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["agentRuntimeArn"] = state?.agentRuntimeArn;
|
|
63
|
+
resourceInputs["agentRuntimeEndpointArn"] = state?.agentRuntimeEndpointArn;
|
|
64
|
+
resourceInputs["agentRuntimeId"] = state?.agentRuntimeId;
|
|
65
|
+
resourceInputs["agentRuntimeVersion"] = state?.agentRuntimeVersion;
|
|
66
|
+
resourceInputs["description"] = state?.description;
|
|
67
|
+
resourceInputs["name"] = state?.name;
|
|
68
|
+
resourceInputs["region"] = state?.region;
|
|
69
|
+
resourceInputs["tags"] = state?.tags;
|
|
70
|
+
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
71
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if (args?.agentRuntimeId === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'agentRuntimeId'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["agentRuntimeId"] = args?.agentRuntimeId;
|
|
79
|
+
resourceInputs["agentRuntimeVersion"] = args?.agentRuntimeVersion;
|
|
80
|
+
resourceInputs["description"] = args?.description;
|
|
81
|
+
resourceInputs["name"] = args?.name;
|
|
82
|
+
resourceInputs["region"] = args?.region;
|
|
83
|
+
resourceInputs["tags"] = args?.tags;
|
|
84
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
85
|
+
resourceInputs["agentRuntimeArn"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["agentRuntimeEndpointArn"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
88
|
+
}
|
|
89
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
super(AgentcoreAgentRuntimeEndpoint.__pulumiType, name, resourceInputs, opts);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.AgentcoreAgentRuntimeEndpoint = AgentcoreAgentRuntimeEndpoint;
|
|
94
|
+
/** @internal */
|
|
95
|
+
AgentcoreAgentRuntimeEndpoint.__pulumiType = 'aws:bedrock/agentcoreAgentRuntimeEndpoint:AgentcoreAgentRuntimeEndpoint';
|
|
96
|
+
//# sourceMappingURL=agentcoreAgentRuntimeEndpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentcoreAgentRuntimeEndpoint.js","sourceRoot":"","sources":["../../bedrock/agentcoreAgentRuntimeEndpoint.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.bedrock.AgentcoreApiKeyCredentialProvider("example", {
|
|
14
|
+
* name: "example-api-key-provider",
|
|
15
|
+
* apiKey: "your-api-key-here",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ### Write-Only API Key (Recommended for Production)
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Using `pulumi import`, import Bedrock AgentCore API Key Credential Provider using the provider name. For example:
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import aws:bedrock/agentcoreApiKeyCredentialProvider:AgentcoreApiKeyCredentialProvider example example-api-key-provider
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class AgentcoreApiKeyCredentialProvider extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing AgentcoreApiKeyCredentialProvider resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentcoreApiKeyCredentialProviderState, opts?: pulumi.CustomResourceOptions): AgentcoreApiKeyCredentialProvider;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of AgentcoreApiKeyCredentialProvider. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is AgentcoreApiKeyCredentialProvider;
|
|
45
|
+
/**
|
|
46
|
+
* API key value. Cannot be used with `apiKeyWo`. This value will be visible in pulumi preview outputs and logs.
|
|
47
|
+
*
|
|
48
|
+
* **Write-Only API Key (choose one approach):**
|
|
49
|
+
*/
|
|
50
|
+
readonly apiKey: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* ARN of the AWS Secrets Manager secret containing the API key.
|
|
53
|
+
*/
|
|
54
|
+
readonly apiKeySecretArns: pulumi.Output<outputs.bedrock.AgentcoreApiKeyCredentialProviderApiKeySecretArn[]>;
|
|
55
|
+
/**
|
|
56
|
+
* ARN of the API Key credential provider.
|
|
57
|
+
*/
|
|
58
|
+
readonly credentialProviderArn: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Name of the API Key credential provider. Forces replacement when changed.
|
|
61
|
+
*
|
|
62
|
+
* The following arguments are optional:
|
|
63
|
+
*/
|
|
64
|
+
readonly name: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
67
|
+
*
|
|
68
|
+
* **Standard API Key (choose one approach):**
|
|
69
|
+
*/
|
|
70
|
+
readonly region: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a AgentcoreApiKeyCredentialProvider resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args?: AgentcoreApiKeyCredentialProviderArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering AgentcoreApiKeyCredentialProvider resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface AgentcoreApiKeyCredentialProviderState {
|
|
84
|
+
/**
|
|
85
|
+
* API key value. Cannot be used with `apiKeyWo`. This value will be visible in pulumi preview outputs and logs.
|
|
86
|
+
*
|
|
87
|
+
* **Write-Only API Key (choose one approach):**
|
|
88
|
+
*/
|
|
89
|
+
apiKey?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* ARN of the AWS Secrets Manager secret containing the API key.
|
|
92
|
+
*/
|
|
93
|
+
apiKeySecretArns?: pulumi.Input<pulumi.Input<inputs.bedrock.AgentcoreApiKeyCredentialProviderApiKeySecretArn>[]>;
|
|
94
|
+
/**
|
|
95
|
+
* ARN of the API Key credential provider.
|
|
96
|
+
*/
|
|
97
|
+
credentialProviderArn?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Name of the API Key credential provider. Forces replacement when changed.
|
|
100
|
+
*
|
|
101
|
+
* The following arguments are optional:
|
|
102
|
+
*/
|
|
103
|
+
name?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
106
|
+
*
|
|
107
|
+
* **Standard API Key (choose one approach):**
|
|
108
|
+
*/
|
|
109
|
+
region?: pulumi.Input<string>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The set of arguments for constructing a AgentcoreApiKeyCredentialProvider resource.
|
|
113
|
+
*/
|
|
114
|
+
export interface AgentcoreApiKeyCredentialProviderArgs {
|
|
115
|
+
/**
|
|
116
|
+
* API key value. Cannot be used with `apiKeyWo`. This value will be visible in pulumi preview outputs and logs.
|
|
117
|
+
*
|
|
118
|
+
* **Write-Only API Key (choose one approach):**
|
|
119
|
+
*/
|
|
120
|
+
apiKey?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Name of the API Key credential provider. Forces replacement when changed.
|
|
123
|
+
*
|
|
124
|
+
* The following arguments are optional:
|
|
125
|
+
*/
|
|
126
|
+
name?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
129
|
+
*
|
|
130
|
+
* **Standard API Key (choose one approach):**
|
|
131
|
+
*/
|
|
132
|
+
region?: pulumi.Input<string>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.AgentcoreApiKeyCredentialProvider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
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.bedrock.AgentcoreApiKeyCredentialProvider("example", {
|
|
18
|
+
* name: "example-api-key-provider",
|
|
19
|
+
* apiKey: "your-api-key-here",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ### Write-Only API Key (Recommended for Production)
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Using `pulumi import`, import Bedrock AgentCore API Key Credential Provider using the provider name. For example:
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:bedrock/agentcoreApiKeyCredentialProvider:AgentcoreApiKeyCredentialProvider example example-api-key-provider
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class AgentcoreApiKeyCredentialProvider extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing AgentcoreApiKeyCredentialProvider resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new AgentcoreApiKeyCredentialProvider(name, state, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of AgentcoreApiKeyCredentialProvider. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === AgentcoreApiKeyCredentialProvider.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["apiKey"] = state?.apiKey;
|
|
62
|
+
resourceInputs["apiKeySecretArns"] = state?.apiKeySecretArns;
|
|
63
|
+
resourceInputs["credentialProviderArn"] = state?.credentialProviderArn;
|
|
64
|
+
resourceInputs["name"] = state?.name;
|
|
65
|
+
resourceInputs["region"] = state?.region;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined;
|
|
70
|
+
resourceInputs["name"] = args?.name;
|
|
71
|
+
resourceInputs["region"] = args?.region;
|
|
72
|
+
resourceInputs["apiKeySecretArns"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["credentialProviderArn"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
const secretOpts = { additionalSecretOutputs: ["apiKey"] };
|
|
77
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
78
|
+
super(AgentcoreApiKeyCredentialProvider.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.AgentcoreApiKeyCredentialProvider = AgentcoreApiKeyCredentialProvider;
|
|
82
|
+
/** @internal */
|
|
83
|
+
AgentcoreApiKeyCredentialProvider.__pulumiType = 'aws:bedrock/agentcoreApiKeyCredentialProvider:AgentcoreApiKeyCredentialProvider';
|
|
84
|
+
//# sourceMappingURL=agentcoreApiKeyCredentialProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentcoreApiKeyCredentialProvider.js","sourceRoot":"","sources":["../../bedrock/agentcoreApiKeyCredentialProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,iCAAkC,SAAQ,MAAM,CAAC,cAAc;IACxE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8C,EAAE,IAAmC;QAC5I,OAAO,IAAI,iCAAiC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxF,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,iCAAiC,CAAC,YAAY,CAAC;IAClF,CAAC;IAqCD,YAAY,IAAY,EAAE,WAA4F,EAAE,IAAmC;QACvJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiE,CAAC;YAChF,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;YACvE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAgE,CAAC;YAC9E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACjF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,iCAAiC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;;AArFL,8EAsFC;AAxEG,gBAAgB;AACO,8CAAY,GAAG,iFAAiF,CAAC"}
|