@pulumi/aws 7.10.0-alpha.1761243490 → 7.10.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/appstream/directoryConfig.d.ts +16 -0
- package/appstream/directoryConfig.js +6 -0
- package/appstream/directoryConfig.js.map +1 -1
- package/bedrock/agentAgent.d.ts +4 -3
- package/bedrock/agentAgent.js +1 -0
- package/bedrock/agentAgent.js.map +1 -1
- package/bedrock/agentcoreApiKeyCredentialProvider.d.ts +26 -0
- package/bedrock/agentcoreApiKeyCredentialProvider.js +14 -1
- package/bedrock/agentcoreApiKeyCredentialProvider.js.map +1 -1
- package/bedrock/agentcoreMemory.d.ts +202 -0
- package/bedrock/agentcoreMemory.js +115 -0
- package/bedrock/agentcoreMemory.js.map +1 -0
- package/bedrock/agentcoreMemoryStrategy.d.ts +275 -0
- package/bedrock/agentcoreMemoryStrategy.js +215 -0
- package/bedrock/agentcoreMemoryStrategy.js.map +1 -0
- package/bedrock/agentcoreOauth2CredentialProvider.d.ts +169 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js +123 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js.map +1 -0
- package/bedrock/agentcoreTokenVaultCmk.d.ts +99 -0
- package/bedrock/agentcoreTokenVaultCmk.js +78 -0
- package/bedrock/agentcoreTokenVaultCmk.js.map +1 -0
- package/bedrock/agentcoreWorkloadIdentity.d.ts +127 -0
- package/bedrock/agentcoreWorkloadIdentity.js +96 -0
- package/bedrock/agentcoreWorkloadIdentity.js.map +1 -0
- package/bedrock/index.d.ts +15 -0
- package/bedrock/index.js +26 -1
- package/bedrock/index.js.map +1 -1
- package/cloudtrail/trail.d.ts +3 -3
- package/docdb/cluster.d.ts +18 -0
- package/docdb/cluster.js +3 -1
- package/docdb/cluster.js.map +1 -1
- package/ecs/taskDefinition.d.ts +3 -3
- package/kms/keyPolicy.d.ts +3 -3
- package/odb/network.d.ts +12 -0
- package/odb/network.js +2 -0
- package/odb/network.js.map +1 -1
- package/organizations/account.d.ts +28 -4
- package/organizations/account.js +2 -0
- package/organizations/account.js.map +1 -1
- package/organizations/getOrganization.d.ts +7 -7
- package/organizations/getOrganization.js +6 -6
- package/organizations/organization.d.ts +13 -13
- package/package.json +2 -2
- package/rds/cluster.d.ts +15 -0
- package/rds/cluster.js +3 -1
- package/rds/cluster.js.map +1 -1
- package/rds/instance.d.ts +15 -0
- package/rds/instance.js +3 -1
- package/rds/instance.js.map +1 -1
- package/redshift/cluster.d.ts +27 -0
- package/redshift/cluster.js +3 -1
- package/redshift/cluster.js.map +1 -1
- package/redshiftserverless/namespace.d.ts +18 -0
- package/redshiftserverless/namespace.js +3 -1
- package/redshiftserverless/namespace.js.map +1 -1
- package/secretsmanager/secretVersion.d.ts +15 -0
- package/secretsmanager/secretVersion.js +3 -1
- package/secretsmanager/secretVersion.js.map +1 -1
- package/ssm/parameter.d.ts +15 -0
- package/ssm/parameter.js +3 -1
- package/ssm/parameter.js.map +1 -1
- package/transfer/hostKey.d.ts +26 -0
- package/transfer/hostKey.js +14 -1
- package/transfer/hostKey.js.map +1 -1
- package/types/input.d.ts +446 -15
- package/types/input.js.map +1 -1
- package/types/output.d.ts +519 -32
- package/types/output.js.map +1 -1
- package/workspaces/getWorkspace.d.ts +19 -0
- package/workspaces/getWorkspace.js.map +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
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.AgentcoreOauth2CredentialProvider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### GitHub OAuth Provider
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const github = new aws.bedrock.AgentcoreOauth2CredentialProvider("github", {
|
|
18
|
+
* name: "github-oauth-provider",
|
|
19
|
+
* credentialProviderVendor: "GithubOauth2",
|
|
20
|
+
* oauth2ProviderConfig: {
|
|
21
|
+
* githubOauth2ProviderConfig: {
|
|
22
|
+
* clientId: "your-github-client-id",
|
|
23
|
+
* clientSecret: "your-github-client-secret",
|
|
24
|
+
* },
|
|
25
|
+
* },
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ### Custom OAuth Provider with Discovery URL
|
|
30
|
+
*
|
|
31
|
+
* ### Custom OAuth Provider with Authorization Server Metadata
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as aws from "@pulumi/aws";
|
|
36
|
+
*
|
|
37
|
+
* const keycloak = new aws.bedrock.AgentcoreOauth2CredentialProvider("keycloak", {
|
|
38
|
+
* name: "keycloak-oauth-provider",
|
|
39
|
+
* credentialProviderVendor: "CustomOauth2",
|
|
40
|
+
* oauth2ProviderConfig: {
|
|
41
|
+
* customOauth2ProviderConfig: {
|
|
42
|
+
* clientIdWo: "keycloak-client-id",
|
|
43
|
+
* clientSecretWo: "keycloak-client-secret",
|
|
44
|
+
* clientCredentialsWoVersion: 1,
|
|
45
|
+
* oauthDiscovery: {
|
|
46
|
+
* authorizationServerMetadata: {
|
|
47
|
+
* issuer: "https://auth.company.com/realms/production",
|
|
48
|
+
* authorizationEndpoint: "https://auth.company.com/realms/production/protocol/openid-connect/auth",
|
|
49
|
+
* tokenEndpoint: "https://auth.company.com/realms/production/protocol/openid-connect/token",
|
|
50
|
+
* responseTypes: [
|
|
51
|
+
* "code",
|
|
52
|
+
* "id_token",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* ## Import
|
|
62
|
+
*
|
|
63
|
+
* Using `pulumi import`, import Bedrock AgentCore OAuth2 Credential Provider using the provider name. For example:
|
|
64
|
+
*
|
|
65
|
+
* ```sh
|
|
66
|
+
* $ pulumi import aws:bedrock/agentcoreOauth2CredentialProvider:AgentcoreOauth2CredentialProvider example oauth2-provider-name
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
class AgentcoreOauth2CredentialProvider extends pulumi.CustomResource {
|
|
70
|
+
/**
|
|
71
|
+
* Get an existing AgentcoreOauth2CredentialProvider resource's state with the given name, ID, and optional extra
|
|
72
|
+
* properties used to qualify the lookup.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resulting resource.
|
|
75
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
76
|
+
* @param state Any extra arguments used during the lookup.
|
|
77
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
78
|
+
*/
|
|
79
|
+
static get(name, id, state, opts) {
|
|
80
|
+
return new AgentcoreOauth2CredentialProvider(name, state, { ...opts, id: id });
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of AgentcoreOauth2CredentialProvider. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === AgentcoreOauth2CredentialProvider.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
constructor(name, argsOrState, opts) {
|
|
93
|
+
let resourceInputs = {};
|
|
94
|
+
opts = opts || {};
|
|
95
|
+
if (opts.id) {
|
|
96
|
+
const state = argsOrState;
|
|
97
|
+
resourceInputs["clientSecretArns"] = state?.clientSecretArns;
|
|
98
|
+
resourceInputs["credentialProviderArn"] = state?.credentialProviderArn;
|
|
99
|
+
resourceInputs["credentialProviderVendor"] = state?.credentialProviderVendor;
|
|
100
|
+
resourceInputs["name"] = state?.name;
|
|
101
|
+
resourceInputs["oauth2ProviderConfig"] = state?.oauth2ProviderConfig;
|
|
102
|
+
resourceInputs["region"] = state?.region;
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
const args = argsOrState;
|
|
106
|
+
if (args?.credentialProviderVendor === undefined && !opts.urn) {
|
|
107
|
+
throw new Error("Missing required property 'credentialProviderVendor'");
|
|
108
|
+
}
|
|
109
|
+
resourceInputs["credentialProviderVendor"] = args?.credentialProviderVendor;
|
|
110
|
+
resourceInputs["name"] = args?.name;
|
|
111
|
+
resourceInputs["oauth2ProviderConfig"] = args?.oauth2ProviderConfig;
|
|
112
|
+
resourceInputs["region"] = args?.region;
|
|
113
|
+
resourceInputs["clientSecretArns"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["credentialProviderArn"] = undefined /*out*/;
|
|
115
|
+
}
|
|
116
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
117
|
+
super(AgentcoreOauth2CredentialProvider.__pulumiType, name, resourceInputs, opts);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.AgentcoreOauth2CredentialProvider = AgentcoreOauth2CredentialProvider;
|
|
121
|
+
/** @internal */
|
|
122
|
+
AgentcoreOauth2CredentialProvider.__pulumiType = 'aws:bedrock/agentcoreOauth2CredentialProvider:AgentcoreOauth2CredentialProvider';
|
|
123
|
+
//# sourceMappingURL=agentcoreOauth2CredentialProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentcoreOauth2CredentialProvider.js","sourceRoot":"","sources":["../../bedrock/agentcoreOauth2CredentialProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;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,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;YACvE,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,EAAE,wBAAwB,CAAC;YAC7E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,EAAE,oBAAoB,CAAC;YACrE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAgE,CAAC;YAC9E,IAAI,IAAI,EAAE,wBAAwB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;aAC3E;YACD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,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,KAAK,CAAC,iCAAiC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtF,CAAC;;AAxFL,8EAyFC;AA3EG,gBAAgB;AACO,8CAAY,GAAG,iFAAiF,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages the AWS KMS customer master key (CMK) for a token vault.
|
|
6
|
+
*
|
|
7
|
+
* > Deletion of this resource will not modify the CMK, only remove the resource from state.
|
|
8
|
+
*
|
|
9
|
+
* ## Example 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.AgentcoreTokenVaultCmk("example", {kmsConfiguration: {
|
|
16
|
+
* keyType: "CustomerManagedKey",
|
|
17
|
+
* kmsKeyArn: exampleAwsKmsKey.arn,
|
|
18
|
+
* }});
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Using `pulumi import`, import token vault CMKs using the token vault ID. For example:
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import aws:bedrock/agentcoreTokenVaultCmk:AgentcoreTokenVaultCmk example "default"
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class AgentcoreTokenVaultCmk extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing AgentcoreTokenVaultCmk 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?: AgentcoreTokenVaultCmkState, opts?: pulumi.CustomResourceOptions): AgentcoreTokenVaultCmk;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of AgentcoreTokenVaultCmk. 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 AgentcoreTokenVaultCmk;
|
|
45
|
+
/**
|
|
46
|
+
* KMS configuration for the token vault. See `kmsConfiguration` below.
|
|
47
|
+
*/
|
|
48
|
+
readonly kmsConfiguration: pulumi.Output<outputs.bedrock.AgentcoreTokenVaultCmkKmsConfiguration | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* 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.
|
|
51
|
+
*/
|
|
52
|
+
readonly region: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Token vault ID. Defaults to `default`.
|
|
55
|
+
*/
|
|
56
|
+
readonly tokenVaultId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a AgentcoreTokenVaultCmk resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args?: AgentcoreTokenVaultCmkArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Input properties used for looking up and filtering AgentcoreTokenVaultCmk resources.
|
|
68
|
+
*/
|
|
69
|
+
export interface AgentcoreTokenVaultCmkState {
|
|
70
|
+
/**
|
|
71
|
+
* KMS configuration for the token vault. See `kmsConfiguration` below.
|
|
72
|
+
*/
|
|
73
|
+
kmsConfiguration?: pulumi.Input<inputs.bedrock.AgentcoreTokenVaultCmkKmsConfiguration>;
|
|
74
|
+
/**
|
|
75
|
+
* 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.
|
|
76
|
+
*/
|
|
77
|
+
region?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Token vault ID. Defaults to `default`.
|
|
80
|
+
*/
|
|
81
|
+
tokenVaultId?: pulumi.Input<string>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The set of arguments for constructing a AgentcoreTokenVaultCmk resource.
|
|
85
|
+
*/
|
|
86
|
+
export interface AgentcoreTokenVaultCmkArgs {
|
|
87
|
+
/**
|
|
88
|
+
* KMS configuration for the token vault. See `kmsConfiguration` below.
|
|
89
|
+
*/
|
|
90
|
+
kmsConfiguration?: pulumi.Input<inputs.bedrock.AgentcoreTokenVaultCmkKmsConfiguration>;
|
|
91
|
+
/**
|
|
92
|
+
* 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.
|
|
93
|
+
*/
|
|
94
|
+
region?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Token vault ID. Defaults to `default`.
|
|
97
|
+
*/
|
|
98
|
+
tokenVaultId?: pulumi.Input<string>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.AgentcoreTokenVaultCmk = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages the AWS KMS customer master key (CMK) for a token vault.
|
|
10
|
+
*
|
|
11
|
+
* > Deletion of this resource will not modify the CMK, only remove the resource from state.
|
|
12
|
+
*
|
|
13
|
+
* ## Example 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.AgentcoreTokenVaultCmk("example", {kmsConfiguration: {
|
|
20
|
+
* keyType: "CustomerManagedKey",
|
|
21
|
+
* kmsKeyArn: exampleAwsKmsKey.arn,
|
|
22
|
+
* }});
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Using `pulumi import`, import token vault CMKs using the token vault ID. For example:
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:bedrock/agentcoreTokenVaultCmk:AgentcoreTokenVaultCmk example "default"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class AgentcoreTokenVaultCmk extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing AgentcoreTokenVaultCmk 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 AgentcoreTokenVaultCmk(name, state, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of AgentcoreTokenVaultCmk. 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'] === AgentcoreTokenVaultCmk.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["kmsConfiguration"] = state?.kmsConfiguration;
|
|
62
|
+
resourceInputs["region"] = state?.region;
|
|
63
|
+
resourceInputs["tokenVaultId"] = state?.tokenVaultId;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
resourceInputs["kmsConfiguration"] = args?.kmsConfiguration;
|
|
68
|
+
resourceInputs["region"] = args?.region;
|
|
69
|
+
resourceInputs["tokenVaultId"] = args?.tokenVaultId;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(AgentcoreTokenVaultCmk.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.AgentcoreTokenVaultCmk = AgentcoreTokenVaultCmk;
|
|
76
|
+
/** @internal */
|
|
77
|
+
AgentcoreTokenVaultCmk.__pulumiType = 'aws:bedrock/agentcoreTokenVaultCmk:AgentcoreTokenVaultCmk';
|
|
78
|
+
//# sourceMappingURL=agentcoreTokenVaultCmk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentcoreTokenVaultCmk.js","sourceRoot":"","sources":["../../bedrock/agentcoreTokenVaultCmk.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;SACxD;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAjEL,wDAkEC;AApDG,gBAAgB;AACO,mCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an AWS Bedrock AgentCore Workload Identity. Workload Identity provides OAuth2-based authentication and authorization for AI agents to access external resources securely.
|
|
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.AgentcoreWorkloadIdentity("example", {
|
|
14
|
+
* name: "example-workload-identity",
|
|
15
|
+
* allowedResourceOauth2ReturnUrls: ["https://example.com/callback"],
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ### Workload Identity with Multiple Return URLs
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as aws from "@pulumi/aws";
|
|
24
|
+
*
|
|
25
|
+
* const example = new aws.bedrock.AgentcoreWorkloadIdentity("example", {
|
|
26
|
+
* name: "example-workload-identity",
|
|
27
|
+
* allowedResourceOauth2ReturnUrls: [
|
|
28
|
+
* "https://app.example.com/oauth/callback",
|
|
29
|
+
* "https://api.example.com/auth/return",
|
|
30
|
+
* "https://example.com/callback",
|
|
31
|
+
* ],
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* Using `pulumi import`, import Bedrock AgentCore Workload Identity using the workload identity name. For example:
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import aws:bedrock/agentcoreWorkloadIdentity:AgentcoreWorkloadIdentity example example-workload-identity
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare class AgentcoreWorkloadIdentity extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing AgentcoreWorkloadIdentity resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentcoreWorkloadIdentityState, opts?: pulumi.CustomResourceOptions): AgentcoreWorkloadIdentity;
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of AgentcoreWorkloadIdentity. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj: any): obj is AgentcoreWorkloadIdentity;
|
|
59
|
+
/**
|
|
60
|
+
* Set of allowed OAuth2 return URLs for resources associated with this workload identity. These URLs are used as valid redirect targets during OAuth2 authentication flows.
|
|
61
|
+
*/
|
|
62
|
+
readonly allowedResourceOauth2ReturnUrls: pulumi.Output<string[] | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Name of the workload identity. Must be 3-255 characters and contain only alphanumeric characters, hyphens, periods, and underscores.
|
|
65
|
+
*
|
|
66
|
+
* The following arguments are optional:
|
|
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
|
+
* ARN of the Workload Identity.
|
|
75
|
+
*/
|
|
76
|
+
readonly workloadIdentityArn: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a AgentcoreWorkloadIdentity resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args?: AgentcoreWorkloadIdentityArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering AgentcoreWorkloadIdentity resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface AgentcoreWorkloadIdentityState {
|
|
90
|
+
/**
|
|
91
|
+
* Set of allowed OAuth2 return URLs for resources associated with this workload identity. These URLs are used as valid redirect targets during OAuth2 authentication flows.
|
|
92
|
+
*/
|
|
93
|
+
allowedResourceOauth2ReturnUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Name of the workload identity. Must be 3-255 characters and contain only alphanumeric characters, hyphens, periods, and underscores.
|
|
96
|
+
*
|
|
97
|
+
* The following arguments are optional:
|
|
98
|
+
*/
|
|
99
|
+
name?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* 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.
|
|
102
|
+
*/
|
|
103
|
+
region?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* ARN of the Workload Identity.
|
|
106
|
+
*/
|
|
107
|
+
workloadIdentityArn?: pulumi.Input<string>;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The set of arguments for constructing a AgentcoreWorkloadIdentity resource.
|
|
111
|
+
*/
|
|
112
|
+
export interface AgentcoreWorkloadIdentityArgs {
|
|
113
|
+
/**
|
|
114
|
+
* Set of allowed OAuth2 return URLs for resources associated with this workload identity. These URLs are used as valid redirect targets during OAuth2 authentication flows.
|
|
115
|
+
*/
|
|
116
|
+
allowedResourceOauth2ReturnUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
117
|
+
/**
|
|
118
|
+
* Name of the workload identity. Must be 3-255 characters and contain only alphanumeric characters, hyphens, periods, and underscores.
|
|
119
|
+
*
|
|
120
|
+
* The following arguments are optional:
|
|
121
|
+
*/
|
|
122
|
+
name?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* 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.
|
|
125
|
+
*/
|
|
126
|
+
region?: pulumi.Input<string>;
|
|
127
|
+
}
|
|
@@ -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.AgentcoreWorkloadIdentity = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AWS Bedrock AgentCore Workload Identity. Workload Identity provides OAuth2-based authentication and authorization for AI agents to access external resources securely.
|
|
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.AgentcoreWorkloadIdentity("example", {
|
|
20
|
+
* name: "example-workload-identity",
|
|
21
|
+
* allowedResourceOauth2ReturnUrls: ["https://example.com/callback"],
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ### Workload Identity with Multiple Return URLs
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as aws from "@pulumi/aws";
|
|
30
|
+
*
|
|
31
|
+
* const example = new aws.bedrock.AgentcoreWorkloadIdentity("example", {
|
|
32
|
+
* name: "example-workload-identity",
|
|
33
|
+
* allowedResourceOauth2ReturnUrls: [
|
|
34
|
+
* "https://app.example.com/oauth/callback",
|
|
35
|
+
* "https://api.example.com/auth/return",
|
|
36
|
+
* "https://example.com/callback",
|
|
37
|
+
* ],
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* Using `pulumi import`, import Bedrock AgentCore Workload Identity using the workload identity name. For example:
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import aws:bedrock/agentcoreWorkloadIdentity:AgentcoreWorkloadIdentity example example-workload-identity
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
class AgentcoreWorkloadIdentity extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing AgentcoreWorkloadIdentity resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, state, opts) {
|
|
60
|
+
return new AgentcoreWorkloadIdentity(name, state, { ...opts, id: id });
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of AgentcoreWorkloadIdentity. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj) {
|
|
67
|
+
if (obj === undefined || obj === null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return obj['__pulumiType'] === AgentcoreWorkloadIdentity.__pulumiType;
|
|
71
|
+
}
|
|
72
|
+
constructor(name, argsOrState, opts) {
|
|
73
|
+
let resourceInputs = {};
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
if (opts.id) {
|
|
76
|
+
const state = argsOrState;
|
|
77
|
+
resourceInputs["allowedResourceOauth2ReturnUrls"] = state?.allowedResourceOauth2ReturnUrls;
|
|
78
|
+
resourceInputs["name"] = state?.name;
|
|
79
|
+
resourceInputs["region"] = state?.region;
|
|
80
|
+
resourceInputs["workloadIdentityArn"] = state?.workloadIdentityArn;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
resourceInputs["allowedResourceOauth2ReturnUrls"] = args?.allowedResourceOauth2ReturnUrls;
|
|
85
|
+
resourceInputs["name"] = args?.name;
|
|
86
|
+
resourceInputs["region"] = args?.region;
|
|
87
|
+
resourceInputs["workloadIdentityArn"] = undefined /*out*/;
|
|
88
|
+
}
|
|
89
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
super(AgentcoreWorkloadIdentity.__pulumiType, name, resourceInputs, opts);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.AgentcoreWorkloadIdentity = AgentcoreWorkloadIdentity;
|
|
94
|
+
/** @internal */
|
|
95
|
+
AgentcoreWorkloadIdentity.__pulumiType = 'aws:bedrock/agentcoreWorkloadIdentity:AgentcoreWorkloadIdentity';
|
|
96
|
+
//# sourceMappingURL=agentcoreWorkloadIdentity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentcoreWorkloadIdentity.js","sourceRoot":"","sources":["../../bedrock/agentcoreWorkloadIdentity.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IA6BD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,iCAAiC,CAAC,GAAG,KAAK,EAAE,+BAA+B,CAAC;YAC3F,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;SACtE;aAAM;YACH,MAAM,IAAI,GAAG,WAAwD,CAAC;YACtE,cAAc,CAAC,iCAAiC,CAAC,GAAG,IAAI,EAAE,+BAA+B,CAAC;YAC1F,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAzEL,8DA0EC;AA5DG,gBAAgB;AACO,sCAAY,GAAG,iEAAiE,CAAC"}
|
package/bedrock/index.d.ts
CHANGED
|
@@ -46,6 +46,21 @@ export declare const AgentcoreGateway: typeof import("./agentcoreGateway").Agent
|
|
|
46
46
|
export { AgentcoreGatewayTargetArgs, AgentcoreGatewayTargetState } from "./agentcoreGatewayTarget";
|
|
47
47
|
export type AgentcoreGatewayTarget = import("./agentcoreGatewayTarget").AgentcoreGatewayTarget;
|
|
48
48
|
export declare const AgentcoreGatewayTarget: typeof import("./agentcoreGatewayTarget").AgentcoreGatewayTarget;
|
|
49
|
+
export { AgentcoreMemoryArgs, AgentcoreMemoryState } from "./agentcoreMemory";
|
|
50
|
+
export type AgentcoreMemory = import("./agentcoreMemory").AgentcoreMemory;
|
|
51
|
+
export declare const AgentcoreMemory: typeof import("./agentcoreMemory").AgentcoreMemory;
|
|
52
|
+
export { AgentcoreMemoryStrategyArgs, AgentcoreMemoryStrategyState } from "./agentcoreMemoryStrategy";
|
|
53
|
+
export type AgentcoreMemoryStrategy = import("./agentcoreMemoryStrategy").AgentcoreMemoryStrategy;
|
|
54
|
+
export declare const AgentcoreMemoryStrategy: typeof import("./agentcoreMemoryStrategy").AgentcoreMemoryStrategy;
|
|
55
|
+
export { AgentcoreOauth2CredentialProviderArgs, AgentcoreOauth2CredentialProviderState } from "./agentcoreOauth2CredentialProvider";
|
|
56
|
+
export type AgentcoreOauth2CredentialProvider = import("./agentcoreOauth2CredentialProvider").AgentcoreOauth2CredentialProvider;
|
|
57
|
+
export declare const AgentcoreOauth2CredentialProvider: typeof import("./agentcoreOauth2CredentialProvider").AgentcoreOauth2CredentialProvider;
|
|
58
|
+
export { AgentcoreTokenVaultCmkArgs, AgentcoreTokenVaultCmkState } from "./agentcoreTokenVaultCmk";
|
|
59
|
+
export type AgentcoreTokenVaultCmk = import("./agentcoreTokenVaultCmk").AgentcoreTokenVaultCmk;
|
|
60
|
+
export declare const AgentcoreTokenVaultCmk: typeof import("./agentcoreTokenVaultCmk").AgentcoreTokenVaultCmk;
|
|
61
|
+
export { AgentcoreWorkloadIdentityArgs, AgentcoreWorkloadIdentityState } from "./agentcoreWorkloadIdentity";
|
|
62
|
+
export type AgentcoreWorkloadIdentity = import("./agentcoreWorkloadIdentity").AgentcoreWorkloadIdentity;
|
|
63
|
+
export declare const AgentcoreWorkloadIdentity: typeof import("./agentcoreWorkloadIdentity").AgentcoreWorkloadIdentity;
|
|
49
64
|
export { CustomModelArgs, CustomModelState } from "./customModel";
|
|
50
65
|
export type CustomModel = import("./customModel").CustomModel;
|
|
51
66
|
export declare const CustomModel: typeof import("./customModel").CustomModel;
|
package/bedrock/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.ProvisionedModelThroughput = exports.InferenceProfile = exports.GuardrailVersion = exports.Guardrail = exports.getInferenceProfilesOutput = exports.getInferenceProfiles = exports.getInferenceProfileOutput = exports.getInferenceProfile = exports.getCustomModelsOutput = exports.getCustomModels = exports.getCustomModelOutput = exports.getCustomModel = exports.getAgentAgentVersionsOutput = exports.getAgentAgentVersions = exports.CustomModel = exports.AgentcoreGatewayTarget = exports.AgentcoreGateway = exports.AgentcoreCodeInterpreter = exports.AgentcoreBrowser = exports.AgentcoreApiKeyCredentialProvider = exports.AgentcoreAgentRuntimeEndpoint = exports.AgentcoreAgentRuntime = exports.AgentPrompt = exports.AgentKnowledgeBase = exports.AgentFlow = exports.AgentDataSource = exports.AgentAgentKnowledgeBaseAssociation = exports.AgentAgentCollaborator = exports.AgentAgentAlias = exports.AgentAgentActionGroup = exports.AgentAgent = void 0;
|
|
5
|
+
exports.ProvisionedModelThroughput = exports.InferenceProfile = exports.GuardrailVersion = exports.Guardrail = exports.getInferenceProfilesOutput = exports.getInferenceProfiles = exports.getInferenceProfileOutput = exports.getInferenceProfile = exports.getCustomModelsOutput = exports.getCustomModels = exports.getCustomModelOutput = exports.getCustomModel = exports.getAgentAgentVersionsOutput = exports.getAgentAgentVersions = exports.CustomModel = exports.AgentcoreWorkloadIdentity = exports.AgentcoreTokenVaultCmk = exports.AgentcoreOauth2CredentialProvider = exports.AgentcoreMemoryStrategy = exports.AgentcoreMemory = exports.AgentcoreGatewayTarget = exports.AgentcoreGateway = exports.AgentcoreCodeInterpreter = exports.AgentcoreBrowser = exports.AgentcoreApiKeyCredentialProvider = exports.AgentcoreAgentRuntimeEndpoint = exports.AgentcoreAgentRuntime = exports.AgentPrompt = exports.AgentKnowledgeBase = exports.AgentFlow = exports.AgentDataSource = exports.AgentAgentKnowledgeBaseAssociation = exports.AgentAgentCollaborator = exports.AgentAgentAlias = exports.AgentAgentActionGroup = exports.AgentAgent = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AgentAgent = null;
|
|
@@ -37,6 +37,16 @@ exports.AgentcoreGateway = null;
|
|
|
37
37
|
utilities.lazyLoad(exports, ["AgentcoreGateway"], () => require("./agentcoreGateway"));
|
|
38
38
|
exports.AgentcoreGatewayTarget = null;
|
|
39
39
|
utilities.lazyLoad(exports, ["AgentcoreGatewayTarget"], () => require("./agentcoreGatewayTarget"));
|
|
40
|
+
exports.AgentcoreMemory = null;
|
|
41
|
+
utilities.lazyLoad(exports, ["AgentcoreMemory"], () => require("./agentcoreMemory"));
|
|
42
|
+
exports.AgentcoreMemoryStrategy = null;
|
|
43
|
+
utilities.lazyLoad(exports, ["AgentcoreMemoryStrategy"], () => require("./agentcoreMemoryStrategy"));
|
|
44
|
+
exports.AgentcoreOauth2CredentialProvider = null;
|
|
45
|
+
utilities.lazyLoad(exports, ["AgentcoreOauth2CredentialProvider"], () => require("./agentcoreOauth2CredentialProvider"));
|
|
46
|
+
exports.AgentcoreTokenVaultCmk = null;
|
|
47
|
+
utilities.lazyLoad(exports, ["AgentcoreTokenVaultCmk"], () => require("./agentcoreTokenVaultCmk"));
|
|
48
|
+
exports.AgentcoreWorkloadIdentity = null;
|
|
49
|
+
utilities.lazyLoad(exports, ["AgentcoreWorkloadIdentity"], () => require("./agentcoreWorkloadIdentity"));
|
|
40
50
|
exports.CustomModel = null;
|
|
41
51
|
utilities.lazyLoad(exports, ["CustomModel"], () => require("./customModel"));
|
|
42
52
|
exports.getAgentAgentVersions = null;
|
|
@@ -98,6 +108,16 @@ const _module = {
|
|
|
98
108
|
return new exports.AgentcoreGateway(name, undefined, { urn });
|
|
99
109
|
case "aws:bedrock/agentcoreGatewayTarget:AgentcoreGatewayTarget":
|
|
100
110
|
return new exports.AgentcoreGatewayTarget(name, undefined, { urn });
|
|
111
|
+
case "aws:bedrock/agentcoreMemory:AgentcoreMemory":
|
|
112
|
+
return new exports.AgentcoreMemory(name, undefined, { urn });
|
|
113
|
+
case "aws:bedrock/agentcoreMemoryStrategy:AgentcoreMemoryStrategy":
|
|
114
|
+
return new exports.AgentcoreMemoryStrategy(name, undefined, { urn });
|
|
115
|
+
case "aws:bedrock/agentcoreOauth2CredentialProvider:AgentcoreOauth2CredentialProvider":
|
|
116
|
+
return new exports.AgentcoreOauth2CredentialProvider(name, undefined, { urn });
|
|
117
|
+
case "aws:bedrock/agentcoreTokenVaultCmk:AgentcoreTokenVaultCmk":
|
|
118
|
+
return new exports.AgentcoreTokenVaultCmk(name, undefined, { urn });
|
|
119
|
+
case "aws:bedrock/agentcoreWorkloadIdentity:AgentcoreWorkloadIdentity":
|
|
120
|
+
return new exports.AgentcoreWorkloadIdentity(name, undefined, { urn });
|
|
101
121
|
case "aws:bedrock/customModel:CustomModel":
|
|
102
122
|
return new exports.CustomModel(name, undefined, { urn });
|
|
103
123
|
case "aws:bedrock/guardrail:Guardrail":
|
|
@@ -129,6 +149,11 @@ pulumi.runtime.registerResourceModule("aws", "bedrock/agentcoreBrowser", _module
|
|
|
129
149
|
pulumi.runtime.registerResourceModule("aws", "bedrock/agentcoreCodeInterpreter", _module);
|
|
130
150
|
pulumi.runtime.registerResourceModule("aws", "bedrock/agentcoreGateway", _module);
|
|
131
151
|
pulumi.runtime.registerResourceModule("aws", "bedrock/agentcoreGatewayTarget", _module);
|
|
152
|
+
pulumi.runtime.registerResourceModule("aws", "bedrock/agentcoreMemory", _module);
|
|
153
|
+
pulumi.runtime.registerResourceModule("aws", "bedrock/agentcoreMemoryStrategy", _module);
|
|
154
|
+
pulumi.runtime.registerResourceModule("aws", "bedrock/agentcoreOauth2CredentialProvider", _module);
|
|
155
|
+
pulumi.runtime.registerResourceModule("aws", "bedrock/agentcoreTokenVaultCmk", _module);
|
|
156
|
+
pulumi.runtime.registerResourceModule("aws", "bedrock/agentcoreWorkloadIdentity", _module);
|
|
132
157
|
pulumi.runtime.registerResourceModule("aws", "bedrock/customModel", _module);
|
|
133
158
|
pulumi.runtime.registerResourceModule("aws", "bedrock/guardrail", _module);
|
|
134
159
|
pulumi.runtime.registerResourceModule("aws", "bedrock/guardrailVersion", _module);
|