@pulumi/aws 7.12.0-alpha.1763161567 → 7.12.0-alpha.1763660660
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/acm/certificate.d.ts +2 -2
- package/acm/certificate.js +2 -2
- package/acmpca/certificate.d.ts +2 -2
- package/acmpca/certificate.js +2 -2
- package/apigateway/account.d.ts +0 -2
- package/apigateway/account.js +0 -2
- package/apigateway/account.js.map +1 -1
- package/appsync/graphQLApi.d.ts +45 -0
- package/appsync/graphQLApi.js +45 -0
- package/appsync/graphQLApi.js.map +1 -1
- package/bedrock/agentAgentAlias.d.ts +55 -0
- package/bedrock/agentAgentAlias.js +55 -0
- package/bedrock/agentAgentAlias.js.map +1 -1
- package/bedrock/agentcoreAgentRuntime.d.ts +2 -2
- package/bedrock/agentcoreAgentRuntime.js +2 -2
- package/bedrock/agentcoreBrowser.d.ts +22 -0
- package/bedrock/agentcoreBrowser.js +22 -0
- package/bedrock/agentcoreBrowser.js.map +1 -1
- package/bedrock/agentcoreGatewayTarget.d.ts +117 -3
- package/bedrock/agentcoreGatewayTarget.js +114 -0
- package/bedrock/agentcoreGatewayTarget.js.map +1 -1
- package/bedrock/agentcoreMemory.d.ts +19 -4
- package/bedrock/agentcoreMemory.js +16 -1
- package/bedrock/agentcoreMemory.js.map +1 -1
- package/bedrock/agentcoreOauth2CredentialProvider.d.ts +20 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js +20 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js.map +1 -1
- package/bedrockmodel/invocationLoggingConfiguration.d.ts +1 -1
- package/bedrockmodel/invocationLoggingConfiguration.js +1 -1
- package/cloudfront/distribution.d.ts +8 -0
- package/cloudfront/distribution.js +2 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudhsmv2/cluster.d.ts +36 -0
- package/cloudhsmv2/cluster.js +36 -0
- package/cloudhsmv2/cluster.js.map +1 -1
- package/cloudtrail/trail.d.ts +1 -1
- package/cloudtrail/trail.js +1 -1
- package/cloudwatch/contributorManagedInsightRule.d.ts +11 -0
- package/cloudwatch/contributorManagedInsightRule.js +11 -0
- package/cloudwatch/contributorManagedInsightRule.js.map +1 -1
- package/cloudwatch/logDeliveryDestination.d.ts +21 -5
- package/cloudwatch/logDeliveryDestination.js +13 -1
- package/cloudwatch/logDeliveryDestination.js.map +1 -1
- package/codebuild/webhook.d.ts +1 -1
- package/codebuild/webhook.js +1 -1
- package/codepipeline/webhook.d.ts +1 -1
- package/codepipeline/webhook.js +1 -1
- package/connect/routingProfile.d.ts +21 -9
- package/connect/routingProfile.js +17 -5
- package/connect/routingProfile.js.map +1 -1
- package/datasync/locationFsxOntapFileSystem.d.ts +18 -0
- package/datasync/locationFsxOntapFileSystem.js +18 -0
- package/datasync/locationFsxOntapFileSystem.js.map +1 -1
- package/datazone/project.d.ts +13 -0
- package/datazone/project.js +13 -0
- package/datazone/project.js.map +1 -1
- package/detective/organizationConfiguration.d.ts +11 -0
- package/detective/organizationConfiguration.js +11 -0
- package/detective/organizationConfiguration.js.map +1 -1
- package/ec2/allowedImagesSettings.d.ts +124 -0
- package/ec2/allowedImagesSettings.js +106 -0
- package/ec2/allowedImagesSettings.js.map +1 -0
- package/ec2/getCoipPools.d.ts +32 -0
- package/ec2/getCoipPools.js +32 -0
- package/ec2/getCoipPools.js.map +1 -1
- package/ec2/imageBlockPublicAccess.d.ts +12 -0
- package/ec2/imageBlockPublicAccess.js +2 -0
- package/ec2/imageBlockPublicAccess.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +10 -5
- package/ec2/index.js.map +1 -1
- package/ec2/securityGroup.d.ts +2 -2
- package/ec2/securityGroup.js +2 -2
- package/ec2/serialConsoleAccess.d.ts +12 -0
- package/ec2/serialConsoleAccess.js +2 -0
- package/ec2/serialConsoleAccess.js.map +1 -1
- package/ec2/vpcEndpoint.d.ts +50 -0
- package/ec2/vpcEndpoint.js +50 -0
- package/ec2/vpcEndpoint.js.map +1 -1
- package/ec2clientvpn/authorizationRule.d.ts +3 -3
- package/ec2clientvpn/route.d.ts +3 -3
- package/ec2transitgateway/instanceConnectEndpoint.d.ts +12 -0
- package/ec2transitgateway/instanceConnectEndpoint.js +2 -0
- package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -1
- package/ecrpublic/getImages.d.ts +36 -0
- package/ecrpublic/getImages.js +36 -0
- package/ecrpublic/getImages.js.map +1 -1
- package/ecs/getService.d.ts +94 -3
- package/ecs/getService.js.map +1 -1
- package/ecs/service.d.ts +40 -0
- package/ecs/service.js +40 -0
- package/ecs/service.js.map +1 -1
- package/elasticache/getReplicationGroup.d.ts +12 -8
- package/elasticache/getReplicationGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +47 -0
- package/elasticache/replicationGroup.js +37 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticache/reservedCacheNode.d.ts +17 -0
- package/elasticache/reservedCacheNode.js +17 -0
- package/elasticache/reservedCacheNode.js.map +1 -1
- package/finspace/kxCluster.d.ts +39 -0
- package/finspace/kxCluster.js +39 -0
- package/finspace/kxCluster.js.map +1 -1
- package/fis/index.d.ts +3 -0
- package/fis/index.js +6 -1
- package/fis/index.js.map +1 -1
- package/fis/targetAccountConfiguration.d.ts +129 -0
- package/fis/targetAccountConfiguration.js +90 -0
- package/fis/targetAccountConfiguration.js.map +1 -0
- package/glue/job.d.ts +3 -3
- package/guardduty/malwareProtectionPlan.d.ts +26 -0
- package/guardduty/malwareProtectionPlan.js +26 -0
- package/guardduty/malwareProtectionPlan.js.map +1 -1
- package/guardduty/memberDetectorFeature.d.ts +23 -0
- package/guardduty/memberDetectorFeature.js +23 -0
- package/guardduty/memberDetectorFeature.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +10 -3
- package/index.js.map +1 -1
- package/invoicing/index.d.ts +3 -0
- package/invoicing/index.js +22 -0
- package/invoicing/index.js.map +1 -0
- package/invoicing/invoiceUnit.d.ts +195 -0
- package/invoicing/invoiceUnit.js +102 -0
- package/invoicing/invoiceUnit.js.map +1 -0
- package/iot/caCertificate.d.ts +6 -6
- package/iot/caCertificate.js +6 -6
- package/iot/getRegistrationCode.d.ts +6 -6
- package/iot/getRegistrationCode.js +6 -6
- package/ivschat/loggingConfiguration.d.ts +15 -0
- package/ivschat/loggingConfiguration.js +15 -0
- package/ivschat/loggingConfiguration.js.map +1 -1
- package/kinesis/getStream.d.ts +4 -0
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/stream.d.ts +12 -0
- package/kinesis/stream.js +2 -0
- package/kinesis/stream.js.map +1 -1
- package/kms/key.d.ts +3 -3
- package/licensemanager/licenseGrant.d.ts +19 -0
- package/licensemanager/licenseGrant.js +19 -0
- package/licensemanager/licenseGrant.js.map +1 -1
- package/m2/environment.d.ts +79 -0
- package/m2/environment.js +79 -0
- package/m2/environment.js.map +1 -1
- package/networkfirewall/tlsInspectionConfiguration.d.ts +44 -0
- package/networkfirewall/tlsInspectionConfiguration.js +44 -0
- package/networkfirewall/tlsInspectionConfiguration.js.map +1 -1
- package/networkflowmonitor/index.d.ts +6 -0
- package/networkflowmonitor/index.js +27 -0
- package/networkflowmonitor/index.js.map +1 -0
- package/networkflowmonitor/monitor.d.ts +187 -0
- package/networkflowmonitor/monitor.js +113 -0
- package/networkflowmonitor/monitor.js.map +1 -0
- package/networkflowmonitor/scope.d.ts +153 -0
- package/networkflowmonitor/scope.js +97 -0
- package/networkflowmonitor/scope.js.map +1 -0
- package/observabilityadmin/centralizationRuleForOrganization.d.ts +246 -0
- package/observabilityadmin/centralizationRuleForOrganization.js +189 -0
- package/observabilityadmin/centralizationRuleForOrganization.js.map +1 -0
- package/observabilityadmin/index.d.ts +3 -0
- package/observabilityadmin/index.js +22 -0
- package/observabilityadmin/index.js.map +1 -0
- package/opensearch/authorizeVpcEndpointAccess.d.ts +2 -2
- package/opensearch/authorizeVpcEndpointAccess.js +2 -2
- package/opensearch/domain.d.ts +21 -0
- package/opensearch/domain.js +2 -0
- package/opensearch/domain.js.map +1 -1
- package/opensearch/getDomain.d.ts +5 -10
- package/opensearch/getDomain.js +0 -2
- package/opensearch/getDomain.js.map +1 -1
- package/opensearchingest/pipeline.d.ts +1 -1
- package/opensearchingest/pipeline.js +1 -1
- package/organizations/getPolicies.d.ts +2 -2
- package/organizations/getPoliciesForTarget.d.ts +2 -2
- package/organizations/getPolicy.d.ts +1 -1
- package/organizations/organization.d.ts +3 -3
- package/organizations/policy.d.ts +15 -3
- package/organizations/policy.js.map +1 -1
- package/package.json +2 -2
- package/quicksight/analysis.d.ts +55 -0
- package/quicksight/analysis.js +55 -0
- package/quicksight/analysis.js.map +1 -1
- package/quicksight/dashboard.d.ts +56 -0
- package/quicksight/dashboard.js +56 -0
- package/quicksight/dashboard.js.map +1 -1
- package/quicksight/dataSource.d.ts +1 -1
- package/quicksight/dataSource.js +1 -1
- package/quicksight/template.d.ts +64 -0
- package/quicksight/template.js +64 -0
- package/quicksight/template.js.map +1 -1
- package/redshift/clusterSnapshot.d.ts +14 -0
- package/redshift/clusterSnapshot.js +14 -0
- package/redshift/clusterSnapshot.js.map +1 -1
- package/redshift/getCluster.d.ts +58 -0
- package/redshift/getCluster.js +58 -0
- package/redshift/getCluster.js.map +1 -1
- package/redshift/snapshotCopyGrant.d.ts +11 -0
- package/redshift/snapshotCopyGrant.js +11 -0
- package/redshift/snapshotCopyGrant.js.map +1 -1
- package/route53/profilesAssociation.d.ts +16 -0
- package/route53/profilesAssociation.js +16 -0
- package/route53/profilesAssociation.js.map +1 -1
- package/route53/profilesResourceAssociation.d.ts +19 -0
- package/route53/profilesResourceAssociation.js +19 -0
- package/route53/profilesResourceAssociation.js.map +1 -1
- package/s3control/multiRegionAccessPointPolicy.d.ts +39 -0
- package/s3control/multiRegionAccessPointPolicy.js +39 -0
- package/s3control/multiRegionAccessPointPolicy.js.map +1 -1
- package/s3tables/table.d.ts +30 -0
- package/s3tables/table.js +4 -0
- package/s3tables/table.js.map +1 -1
- package/s3tables/tableBucket.d.ts +30 -0
- package/s3tables/tableBucket.js +4 -0
- package/s3tables/tableBucket.js.map +1 -1
- package/sagemaker/endpointConfiguration.d.ts +40 -28
- package/sagemaker/endpointConfiguration.js +2 -0
- package/sagemaker/endpointConfiguration.js.map +1 -1
- package/ssmincidents/getResponsePlan.d.ts +14 -0
- package/ssmincidents/getResponsePlan.js +14 -0
- package/ssmincidents/getResponsePlan.js.map +1 -1
- package/ssoadmin/accountAssignment.d.ts +2 -2
- package/ssoadmin/accountAssignment.js +2 -2
- package/transfer/profile.d.ts +11 -0
- package/transfer/profile.js +11 -0
- package/transfer/profile.js.map +1 -1
- package/transfer/server.d.ts +3 -0
- package/transfer/server.js.map +1 -1
- package/transfer/sshKey.d.ts +3 -3
- package/transfer/sshKey.js +3 -3
- package/types/input.d.ts +462 -140
- package/types/input.js.map +1 -1
- package/types/output.d.ts +779 -95
- package/types/output.js.map +1 -1
- package/wafv2/ruleGroup.d.ts +223 -0
- package/wafv2/ruleGroup.js +223 -0
- package/wafv2/ruleGroup.js.map +1 -1
- package/workspacesweb/sessionLoggerAssociation.d.ts +47 -0
- package/workspacesweb/sessionLoggerAssociation.js +47 -0
- package/workspacesweb/sessionLoggerAssociation.js.map +1 -1
- package/workspacesweb/trustStoreAssociation.d.ts +17 -0
- package/workspacesweb/trustStoreAssociation.js +17 -0
- package/workspacesweb/trustStoreAssociation.js.map +1 -1
|
@@ -12,6 +12,120 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ### Lambda Target with Gateway IAM Role
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const gatewayAssume = aws.iam.getPolicyDocument({
|
|
20
|
+
* statements: [{
|
|
21
|
+
* effect: "Allow",
|
|
22
|
+
* actions: ["sts:AssumeRole"],
|
|
23
|
+
* principals: [{
|
|
24
|
+
* type: "Service",
|
|
25
|
+
* identifiers: ["bedrock-agentcore.amazonaws.com"],
|
|
26
|
+
* }],
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* const gatewayRole = new aws.iam.Role("gateway_role", {
|
|
30
|
+
* name: "bedrock-gateway-role",
|
|
31
|
+
* assumeRolePolicy: gatewayAssume.then(gatewayAssume => gatewayAssume.json),
|
|
32
|
+
* });
|
|
33
|
+
* const lambdaAssume = aws.iam.getPolicyDocument({
|
|
34
|
+
* statements: [{
|
|
35
|
+
* effect: "Allow",
|
|
36
|
+
* actions: ["sts:AssumeRole"],
|
|
37
|
+
* principals: [{
|
|
38
|
+
* type: "Service",
|
|
39
|
+
* identifiers: ["lambda.amazonaws.com"],
|
|
40
|
+
* }],
|
|
41
|
+
* }],
|
|
42
|
+
* });
|
|
43
|
+
* const lambdaRole = new aws.iam.Role("lambda_role", {
|
|
44
|
+
* name: "example-lambda-role",
|
|
45
|
+
* assumeRolePolicy: lambdaAssume.then(lambdaAssume => lambdaAssume.json),
|
|
46
|
+
* });
|
|
47
|
+
* const example = new aws.lambda.Function("example", {
|
|
48
|
+
* code: new pulumi.asset.FileArchive("example.zip"),
|
|
49
|
+
* name: "example-function",
|
|
50
|
+
* role: lambdaRole.arn,
|
|
51
|
+
* handler: "index.handler",
|
|
52
|
+
* runtime: aws.lambda.Runtime.NodeJS20dX,
|
|
53
|
+
* });
|
|
54
|
+
* const exampleAgentcoreGateway = new aws.bedrock.AgentcoreGateway("example", {
|
|
55
|
+
* name: "example-gateway",
|
|
56
|
+
* roleArn: gatewayRole.arn,
|
|
57
|
+
* authorizerConfiguration: {
|
|
58
|
+
* customJwtAuthorizer: {
|
|
59
|
+
* discoveryUrl: "https://accounts.google.com/.well-known/openid-configuration",
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* });
|
|
63
|
+
* const exampleAgentcoreGatewayTarget = new aws.bedrock.AgentcoreGatewayTarget("example", {
|
|
64
|
+
* name: "example-target",
|
|
65
|
+
* gatewayIdentifier: exampleAgentcoreGateway.gatewayId,
|
|
66
|
+
* description: "Lambda function target for processing requests",
|
|
67
|
+
* credentialProviderConfiguration: {
|
|
68
|
+
* gatewayIamRole: {},
|
|
69
|
+
* },
|
|
70
|
+
* targetConfiguration: {
|
|
71
|
+
* mcp: {
|
|
72
|
+
* lambda: {
|
|
73
|
+
* lambdaArn: example.arn,
|
|
74
|
+
* toolSchema: {
|
|
75
|
+
* inlinePayloads: [{
|
|
76
|
+
* name: "process_request",
|
|
77
|
+
* description: "Process incoming requests",
|
|
78
|
+
* inputSchema: {
|
|
79
|
+
* type: "object",
|
|
80
|
+
* description: "Request processing schema",
|
|
81
|
+
* properties: [
|
|
82
|
+
* {
|
|
83
|
+
* name: "message",
|
|
84
|
+
* type: "string",
|
|
85
|
+
* description: "Message to process",
|
|
86
|
+
* required: true,
|
|
87
|
+
* },
|
|
88
|
+
* {
|
|
89
|
+
* name: "options",
|
|
90
|
+
* type: "object",
|
|
91
|
+
* properties: [
|
|
92
|
+
* {
|
|
93
|
+
* name: "priority",
|
|
94
|
+
* type: "string",
|
|
95
|
+
* },
|
|
96
|
+
* {
|
|
97
|
+
* name: "tags",
|
|
98
|
+
* type: "array",
|
|
99
|
+
* items: [{
|
|
100
|
+
* type: "string",
|
|
101
|
+
* }],
|
|
102
|
+
* },
|
|
103
|
+
* ],
|
|
104
|
+
* },
|
|
105
|
+
* ],
|
|
106
|
+
* },
|
|
107
|
+
* outputSchema: {
|
|
108
|
+
* type: "object",
|
|
109
|
+
* properties: [
|
|
110
|
+
* {
|
|
111
|
+
* name: "status",
|
|
112
|
+
* type: "string",
|
|
113
|
+
* required: true,
|
|
114
|
+
* },
|
|
115
|
+
* {
|
|
116
|
+
* name: "result",
|
|
117
|
+
* type: "string",
|
|
118
|
+
* },
|
|
119
|
+
* ],
|
|
120
|
+
* },
|
|
121
|
+
* }],
|
|
122
|
+
* },
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
15
129
|
* ### Target with API Key Authentication
|
|
16
130
|
*
|
|
17
131
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcoreGatewayTarget.js","sourceRoot":"","sources":["../../bedrock/agentcoreGatewayTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"agentcoreGatewayTarget.js","sourceRoot":"","sources":["../../bedrock/agentcoreGatewayTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwRG;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,OA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Q,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;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;;AAjGL,wDAkGC;AApFG,gBAAgB;AACO,mCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -31,13 +31,28 @@ import * as outputs from "../types/output";
|
|
|
31
31
|
* policyArn: "arn:aws:iam::aws:policy/AmazonBedrockAgentCoreMemoryBedrockModelInferenceExecutionRolePolicy",
|
|
32
32
|
* });
|
|
33
33
|
* const exampleAgentcoreMemory = new aws.bedrock.AgentcoreMemory("example", {
|
|
34
|
-
* name: "
|
|
34
|
+
* name: "example_memory",
|
|
35
35
|
* eventExpiryDuration: 30,
|
|
36
36
|
* });
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
39
|
* ### Memory with Custom Encryption and Role
|
|
40
40
|
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as aws from "@pulumi/aws";
|
|
44
|
+
*
|
|
45
|
+
* const example = new aws.kms.Key("example", {description: "KMS key for Bedrock AgentCore Memory"});
|
|
46
|
+
* const exampleAgentcoreMemory = new aws.bedrock.AgentcoreMemory("example", {
|
|
47
|
+
* name: "example_memory",
|
|
48
|
+
* description: "Memory for customer service agent",
|
|
49
|
+
* eventExpiryDuration: 60,
|
|
50
|
+
* encryptionKeyArn: example.arn,
|
|
51
|
+
* memoryExecutionRoleArn: exampleAwsIamRole.arn,
|
|
52
|
+
* clientToken: "unique-client-token",
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
41
56
|
* ## Import
|
|
42
57
|
*
|
|
43
58
|
* Using `pulumi import`, import Bedrock AgentCore Memory using the memory ID. For example:
|
|
@@ -75,7 +90,7 @@ export declare class AgentcoreMemory extends pulumi.CustomResource {
|
|
|
75
90
|
*/
|
|
76
91
|
readonly encryptionKeyArn: pulumi.Output<string | undefined>;
|
|
77
92
|
/**
|
|
78
|
-
* Number of
|
|
93
|
+
* Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
79
94
|
*
|
|
80
95
|
* The following arguments are optional:
|
|
81
96
|
*/
|
|
@@ -131,7 +146,7 @@ export interface AgentcoreMemoryState {
|
|
|
131
146
|
*/
|
|
132
147
|
encryptionKeyArn?: pulumi.Input<string>;
|
|
133
148
|
/**
|
|
134
|
-
* Number of
|
|
149
|
+
* Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
135
150
|
*
|
|
136
151
|
* The following arguments are optional:
|
|
137
152
|
*/
|
|
@@ -175,7 +190,7 @@ export interface AgentcoreMemoryArgs {
|
|
|
175
190
|
*/
|
|
176
191
|
encryptionKeyArn?: pulumi.Input<string>;
|
|
177
192
|
/**
|
|
178
|
-
* Number of
|
|
193
|
+
* Number of days after which memory events expire. Must be a positive integer in the range of 7 to 365.
|
|
179
194
|
*
|
|
180
195
|
* The following arguments are optional:
|
|
181
196
|
*/
|
|
@@ -35,13 +35,28 @@ const utilities = require("../utilities");
|
|
|
35
35
|
* policyArn: "arn:aws:iam::aws:policy/AmazonBedrockAgentCoreMemoryBedrockModelInferenceExecutionRolePolicy",
|
|
36
36
|
* });
|
|
37
37
|
* const exampleAgentcoreMemory = new aws.bedrock.AgentcoreMemory("example", {
|
|
38
|
-
* name: "
|
|
38
|
+
* name: "example_memory",
|
|
39
39
|
* eventExpiryDuration: 30,
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
|
42
42
|
*
|
|
43
43
|
* ### Memory with Custom Encryption and Role
|
|
44
44
|
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as aws from "@pulumi/aws";
|
|
48
|
+
*
|
|
49
|
+
* const example = new aws.kms.Key("example", {description: "KMS key for Bedrock AgentCore Memory"});
|
|
50
|
+
* const exampleAgentcoreMemory = new aws.bedrock.AgentcoreMemory("example", {
|
|
51
|
+
* name: "example_memory",
|
|
52
|
+
* description: "Memory for customer service agent",
|
|
53
|
+
* eventExpiryDuration: 60,
|
|
54
|
+
* encryptionKeyArn: example.arn,
|
|
55
|
+
* memoryExecutionRoleArn: exampleAwsIamRole.arn,
|
|
56
|
+
* clientToken: "unique-client-token",
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
45
60
|
* ## Import
|
|
46
61
|
*
|
|
47
62
|
* Using `pulumi import`, import Bedrock AgentCore Memory using the memory ID. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcoreMemory.js","sourceRoot":"","sources":["../../bedrock/agentcoreMemory.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"agentcoreMemory.js","sourceRoot":"","sources":["../../bedrock/agentcoreMemory.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK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AC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;aACtE;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA7GL,0CA8GC;AAhGG,gBAAgB;AACO,4BAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -24,6 +24,26 @@ import * as outputs from "../types/output";
|
|
|
24
24
|
*
|
|
25
25
|
* ### Custom OAuth Provider with Discovery URL
|
|
26
26
|
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as aws from "@pulumi/aws";
|
|
30
|
+
*
|
|
31
|
+
* const auth0 = new aws.bedrock.AgentcoreOauth2CredentialProvider("auth0", {
|
|
32
|
+
* name: "auth0-oauth-provider",
|
|
33
|
+
* credentialProviderVendor: "CustomOauth2",
|
|
34
|
+
* customOauth2ProviderConfig: [{
|
|
35
|
+
* custom: [{
|
|
36
|
+
* clientIdWo: "auth0-client-id",
|
|
37
|
+
* clientSecretWo: "auth0-client-secret",
|
|
38
|
+
* clientCredentialsWoVersion: 1,
|
|
39
|
+
* oauthDiscovery: [{
|
|
40
|
+
* discoveryUrl: "https://dev-company.auth0.com/.well-known/openid-configuration",
|
|
41
|
+
* }],
|
|
42
|
+
* }],
|
|
43
|
+
* }],
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
27
47
|
* ### Custom OAuth Provider with Authorization Server Metadata
|
|
28
48
|
*
|
|
29
49
|
* ```typescript
|
|
@@ -28,6 +28,26 @@ const utilities = require("../utilities");
|
|
|
28
28
|
*
|
|
29
29
|
* ### Custom OAuth Provider with Discovery URL
|
|
30
30
|
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as aws from "@pulumi/aws";
|
|
34
|
+
*
|
|
35
|
+
* const auth0 = new aws.bedrock.AgentcoreOauth2CredentialProvider("auth0", {
|
|
36
|
+
* name: "auth0-oauth-provider",
|
|
37
|
+
* credentialProviderVendor: "CustomOauth2",
|
|
38
|
+
* customOauth2ProviderConfig: [{
|
|
39
|
+
* custom: [{
|
|
40
|
+
* clientIdWo: "auth0-client-id",
|
|
41
|
+
* clientSecretWo: "auth0-client-secret",
|
|
42
|
+
* clientCredentialsWoVersion: 1,
|
|
43
|
+
* oauthDiscovery: [{
|
|
44
|
+
* discoveryUrl: "https://dev-company.auth0.com/.well-known/openid-configuration",
|
|
45
|
+
* }],
|
|
46
|
+
* }],
|
|
47
|
+
* }],
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
31
51
|
* ### Custom OAuth Provider with Authorization Server Metadata
|
|
32
52
|
*
|
|
33
53
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcoreOauth2CredentialProvider.js","sourceRoot":"","sources":["../../bedrock/agentcoreOauth2CredentialProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"agentcoreOauth2CredentialProvider.js","sourceRoot":"","sources":["../../bedrock/agentcoreOauth2CredentialProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;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,g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
|
* const exampleBucketPolicy = new aws.s3.BucketPolicy("example", {
|
|
23
23
|
* bucket: example.bucket,
|
|
24
|
-
* policy:
|
|
24
|
+
* policy: Promise.all([example.arn, current, current]).then(([arn, current, current1]) => `{
|
|
25
25
|
* \"Version\": \"2012-10-17\",
|
|
26
26
|
* \"Statement\": [
|
|
27
27
|
* {
|
|
@@ -25,7 +25,7 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* });
|
|
26
26
|
* const exampleBucketPolicy = new aws.s3.BucketPolicy("example", {
|
|
27
27
|
* bucket: example.bucket,
|
|
28
|
-
* policy:
|
|
28
|
+
* policy: Promise.all([example.arn, current, current]).then(([arn, current, current1]) => `{
|
|
29
29
|
* \"Version\": \"2012-10-17\",
|
|
30
30
|
* \"Statement\": [
|
|
31
31
|
* {
|
|
@@ -466,6 +466,10 @@ export declare class Distribution extends pulumi.CustomResource {
|
|
|
466
466
|
* The logging configuration that controls how logs are written to your distribution (maximum one). AWS provides two versions of access logs for CloudFront: Legacy and v2. This argument configures legacy version standard logs.
|
|
467
467
|
*/
|
|
468
468
|
readonly loggingConfig: pulumi.Output<outputs.cloudfront.DistributionLoggingConfig | undefined>;
|
|
469
|
+
/**
|
|
470
|
+
* Whether V1 logging is enabled for the distribution.
|
|
471
|
+
*/
|
|
472
|
+
readonly loggingV1Enabled: pulumi.Output<boolean>;
|
|
469
473
|
/**
|
|
470
474
|
* Ordered list of cache behaviors resource for this distribution. List from top to bottom in order of precedence. The topmost cache behavior will have precedence 0.
|
|
471
475
|
*/
|
|
@@ -615,6 +619,10 @@ export interface DistributionState {
|
|
|
615
619
|
* The logging configuration that controls how logs are written to your distribution (maximum one). AWS provides two versions of access logs for CloudFront: Legacy and v2. This argument configures legacy version standard logs.
|
|
616
620
|
*/
|
|
617
621
|
loggingConfig?: pulumi.Input<inputs.cloudfront.DistributionLoggingConfig>;
|
|
622
|
+
/**
|
|
623
|
+
* Whether V1 logging is enabled for the distribution.
|
|
624
|
+
*/
|
|
625
|
+
loggingV1Enabled?: pulumi.Input<boolean>;
|
|
618
626
|
/**
|
|
619
627
|
* Ordered list of cache behaviors resource for this distribution. List from top to bottom in order of precedence. The topmost cache behavior will have precedence 0.
|
|
620
628
|
*/
|
|
@@ -428,6 +428,7 @@ class Distribution extends pulumi.CustomResource {
|
|
|
428
428
|
resourceInputs["isIpv6Enabled"] = state?.isIpv6Enabled;
|
|
429
429
|
resourceInputs["lastModifiedTime"] = state?.lastModifiedTime;
|
|
430
430
|
resourceInputs["loggingConfig"] = state?.loggingConfig;
|
|
431
|
+
resourceInputs["loggingV1Enabled"] = state?.loggingV1Enabled;
|
|
431
432
|
resourceInputs["orderedCacheBehaviors"] = state?.orderedCacheBehaviors;
|
|
432
433
|
resourceInputs["originGroups"] = state?.originGroups;
|
|
433
434
|
resourceInputs["origins"] = state?.origins;
|
|
@@ -490,6 +491,7 @@ class Distribution extends pulumi.CustomResource {
|
|
|
490
491
|
resourceInputs["hostedZoneId"] = undefined /*out*/;
|
|
491
492
|
resourceInputs["inProgressValidationBatches"] = undefined /*out*/;
|
|
492
493
|
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
494
|
+
resourceInputs["loggingV1Enabled"] = undefined /*out*/;
|
|
493
495
|
resourceInputs["status"] = undefined /*out*/;
|
|
494
496
|
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
495
497
|
resourceInputs["trustedKeyGroups"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distribution.js","sourceRoot":"","sources":["../../cloudfront/distribution.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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have to remove its HSM modules first.
|
|
14
14
|
* To initialize cluster, you have to add an HSM instance to the cluster, then sign CSR and upload it.
|
|
15
15
|
*
|
|
16
|
+
* ## Example Usage
|
|
17
|
+
*
|
|
18
|
+
* The following example below creates a CloudHSM cluster.
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as aws from "@pulumi/aws";
|
|
23
|
+
*
|
|
24
|
+
* const available = aws.getAvailabilityZones({});
|
|
25
|
+
* const cloudhsmV2Vpc = new aws.ec2.Vpc("cloudhsm_v2_vpc", {
|
|
26
|
+
* cidrBlock: "10.0.0.0/16",
|
|
27
|
+
* tags: {
|
|
28
|
+
* Name: "example-aws_cloudhsm_v2_cluster",
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* const cloudhsmV2Subnets: aws.ec2.Subnet[] = [];
|
|
32
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
33
|
+
* cloudhsmV2Subnets.push(new aws.ec2.Subnet(`cloudhsm_v2_subnets-${range.value}`, {
|
|
34
|
+
* vpcId: cloudhsmV2Vpc.id,
|
|
35
|
+
* cidrBlock: subnets[range.value],
|
|
36
|
+
* mapPublicIpOnLaunch: false,
|
|
37
|
+
* availabilityZone: available.then(available => available.names[range.value]),
|
|
38
|
+
* tags: {
|
|
39
|
+
* Name: "example-aws_cloudhsm_v2_cluster",
|
|
40
|
+
* },
|
|
41
|
+
* }));
|
|
42
|
+
* }
|
|
43
|
+
* const cloudhsmV2Cluster = new aws.cloudhsmv2.Cluster("cloudhsm_v2_cluster", {
|
|
44
|
+
* hsmType: "hsm1.medium",
|
|
45
|
+
* subnetIds: cloudhsmV2Subnets.map(__item => __item.id),
|
|
46
|
+
* tags: {
|
|
47
|
+
* Name: "example-aws_cloudhsm_v2_cluster",
|
|
48
|
+
* },
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
16
52
|
* ## Import
|
|
17
53
|
*
|
|
18
54
|
* Using `pulumi import`, import CloudHSM v2 Clusters using the cluster `id`. For example:
|
package/cloudhsmv2/cluster.js
CHANGED
|
@@ -17,6 +17,42 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* If you need to delete a cluster, you have to remove its HSM modules first.
|
|
18
18
|
* To initialize cluster, you have to add an HSM instance to the cluster, then sign CSR and upload it.
|
|
19
19
|
*
|
|
20
|
+
* ## Example Usage
|
|
21
|
+
*
|
|
22
|
+
* The following example below creates a CloudHSM cluster.
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as aws from "@pulumi/aws";
|
|
27
|
+
*
|
|
28
|
+
* const available = aws.getAvailabilityZones({});
|
|
29
|
+
* const cloudhsmV2Vpc = new aws.ec2.Vpc("cloudhsm_v2_vpc", {
|
|
30
|
+
* cidrBlock: "10.0.0.0/16",
|
|
31
|
+
* tags: {
|
|
32
|
+
* Name: "example-aws_cloudhsm_v2_cluster",
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* const cloudhsmV2Subnets: aws.ec2.Subnet[] = [];
|
|
36
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
37
|
+
* cloudhsmV2Subnets.push(new aws.ec2.Subnet(`cloudhsm_v2_subnets-${range.value}`, {
|
|
38
|
+
* vpcId: cloudhsmV2Vpc.id,
|
|
39
|
+
* cidrBlock: subnets[range.value],
|
|
40
|
+
* mapPublicIpOnLaunch: false,
|
|
41
|
+
* availabilityZone: available.then(available => available.names[range.value]),
|
|
42
|
+
* tags: {
|
|
43
|
+
* Name: "example-aws_cloudhsm_v2_cluster",
|
|
44
|
+
* },
|
|
45
|
+
* }));
|
|
46
|
+
* }
|
|
47
|
+
* const cloudhsmV2Cluster = new aws.cloudhsmv2.Cluster("cloudhsm_v2_cluster", {
|
|
48
|
+
* hsmType: "hsm1.medium",
|
|
49
|
+
* subnetIds: cloudhsmV2Subnets.map(__item => __item.id),
|
|
50
|
+
* tags: {
|
|
51
|
+
* Name: "example-aws_cloudhsm_v2_cluster",
|
|
52
|
+
* },
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
20
56
|
* ## Import
|
|
21
57
|
*
|
|
22
58
|
* Using `pulumi import`, import CloudHSM v2 Clusters using the cluster `id`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../cloudhsmv2/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../cloudhsmv2/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA2DD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IA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MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7HL,0BA8HC;AAhHG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|
package/cloudtrail/trail.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ import * as outputs from "../types/output";
|
|
|
51
51
|
* identifiers: ["cloudtrail.amazonaws.com"],
|
|
52
52
|
* }],
|
|
53
53
|
* actions: ["s3:PutObject"],
|
|
54
|
-
* resources: [
|
|
54
|
+
* resources: [Promise.all([exampleBucket.arn, current]).then(([arn, current]) => `${arn}/prefix/AWSLogs/${current.accountId}/*`)],
|
|
55
55
|
* conditions: [
|
|
56
56
|
* {
|
|
57
57
|
* test: "StringEquals",
|
package/cloudtrail/trail.js
CHANGED
|
@@ -55,7 +55,7 @@ const utilities = require("../utilities");
|
|
|
55
55
|
* identifiers: ["cloudtrail.amazonaws.com"],
|
|
56
56
|
* }],
|
|
57
57
|
* actions: ["s3:PutObject"],
|
|
58
|
-
* resources: [
|
|
58
|
+
* resources: [Promise.all([exampleBucket.arn, current]).then(([arn, current]) => `${arn}/prefix/AWSLogs/${current.accountId}/*`)],
|
|
59
59
|
* conditions: [
|
|
60
60
|
* {
|
|
61
61
|
* test: "StringEquals",
|
|
@@ -6,6 +6,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ### Basic Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.cloudwatch.ContributorManagedInsightRule("example", {
|
|
14
|
+
* resourceArn: test.arn,
|
|
15
|
+
* templateName: "VpcEndpointService-BytesByEndpointId-v1",
|
|
16
|
+
* ruleState: "DISABLED",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
9
20
|
* ## Import
|
|
10
21
|
*
|
|
11
22
|
* Using `pulumi import`, import CloudWatch Contributor Managed Insight Rule using the `resource_arn`. For example:
|
|
@@ -12,6 +12,17 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ### Basic Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.cloudwatch.ContributorManagedInsightRule("example", {
|
|
20
|
+
* resourceArn: test.arn,
|
|
21
|
+
* templateName: "VpcEndpointService-BytesByEndpointId-v1",
|
|
22
|
+
* ruleState: "DISABLED",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
15
26
|
* ## Import
|
|
16
27
|
*
|
|
17
28
|
* Using `pulumi import`, import CloudWatch Contributor Managed Insight Rule using the `resource_arn`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contributorManagedInsightRule.js","sourceRoot":"","sources":["../../cloudwatch/contributorManagedInsightRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"contributorManagedInsightRule.js","sourceRoot":"","sources":["../../cloudwatch/contributorManagedInsightRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpF,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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;IAiCD,YAAY,IAAY,EAAE,WAAoF,EAAE,IAAmC;QAC/I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6D,CAAC;YAC5E,cAAc,CAAC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AC,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,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AA3FL,sEA4FC;AA9EG,gBAAgB;AACO,0CAAY,GAAG,4EAA4E,CAAC"}
|
|
@@ -20,6 +20,18 @@ import * as outputs from "../types/output";
|
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
23
|
+
* ### X-Ray Trace Delivery
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as aws from "@pulumi/aws";
|
|
28
|
+
*
|
|
29
|
+
* const xray = new aws.cloudwatch.LogDeliveryDestination("xray", {
|
|
30
|
+
* name: "xray-traces",
|
|
31
|
+
* deliveryDestinationType: "XRAY",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
23
35
|
* ## Import
|
|
24
36
|
*
|
|
25
37
|
* Using `pulumi import`, import CloudWatch Logs Delivery Destination using the `name`. For example:
|
|
@@ -49,11 +61,11 @@ export declare class LogDeliveryDestination extends pulumi.CustomResource {
|
|
|
49
61
|
*/
|
|
50
62
|
readonly arn: pulumi.Output<string>;
|
|
51
63
|
/**
|
|
52
|
-
* The AWS resource that will receive the logs.
|
|
64
|
+
* The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
|
|
53
65
|
*/
|
|
54
66
|
readonly deliveryDestinationConfiguration: pulumi.Output<outputs.cloudwatch.LogDeliveryDestinationDeliveryDestinationConfiguration | undefined>;
|
|
55
67
|
/**
|
|
56
|
-
*
|
|
68
|
+
* The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destinationResourceArn`.
|
|
57
69
|
*/
|
|
58
70
|
readonly deliveryDestinationType: pulumi.Output<string>;
|
|
59
71
|
/**
|
|
@@ -98,11 +110,11 @@ export interface LogDeliveryDestinationState {
|
|
|
98
110
|
*/
|
|
99
111
|
arn?: pulumi.Input<string>;
|
|
100
112
|
/**
|
|
101
|
-
* The AWS resource that will receive the logs.
|
|
113
|
+
* The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
|
|
102
114
|
*/
|
|
103
115
|
deliveryDestinationConfiguration?: pulumi.Input<inputs.cloudwatch.LogDeliveryDestinationDeliveryDestinationConfiguration>;
|
|
104
116
|
/**
|
|
105
|
-
*
|
|
117
|
+
* The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destinationResourceArn`.
|
|
106
118
|
*/
|
|
107
119
|
deliveryDestinationType?: pulumi.Input<string>;
|
|
108
120
|
/**
|
|
@@ -135,9 +147,13 @@ export interface LogDeliveryDestinationState {
|
|
|
135
147
|
*/
|
|
136
148
|
export interface LogDeliveryDestinationArgs {
|
|
137
149
|
/**
|
|
138
|
-
* The AWS resource that will receive the logs.
|
|
150
|
+
* The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.
|
|
139
151
|
*/
|
|
140
152
|
deliveryDestinationConfiguration?: pulumi.Input<inputs.cloudwatch.LogDeliveryDestinationDeliveryDestinationConfiguration>;
|
|
153
|
+
/**
|
|
154
|
+
* The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destinationResourceArn`.
|
|
155
|
+
*/
|
|
156
|
+
deliveryDestinationType?: pulumi.Input<string>;
|
|
141
157
|
/**
|
|
142
158
|
* The name for this delivery destination.
|
|
143
159
|
*/
|