@pulumi/aws 7.0.0-alpha.2 → 7.0.0-alpha.3
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/accessanalyzer/analyzer.d.ts +54 -7
- package/accessanalyzer/analyzer.js +48 -1
- package/accessanalyzer/analyzer.js.map +1 -1
- package/amplify/app.d.ts +26 -0
- package/amplify/app.js +16 -0
- package/amplify/app.js.map +1 -1
- package/bedrock/agentAgent.d.ts +2 -2
- package/bedrock/agentAgent.js +2 -2
- package/bedrock/agentAgentCollaborator.d.ts +4 -4
- package/bedrock/agentAgentCollaborator.js +4 -4
- package/cloudtrail/trail.d.ts +2 -2
- package/cloudtrail/trail.js +2 -2
- package/cloudwatch/eventArchive.d.ts +91 -15
- package/cloudwatch/eventArchive.js +67 -1
- package/cloudwatch/eventArchive.js.map +1 -1
- package/cloudwatch/logGroup.d.ts +6 -6
- package/codeartifact/domainPermissions.d.ts +1 -1
- package/codeartifact/domainPermissions.js +0 -3
- package/codeartifact/domainPermissions.js.map +1 -1
- package/connect/botAssociation.d.ts +1 -1
- package/connect/botAssociation.js +1 -1
- package/controltower/controlTowerControl.d.ts +1 -1
- package/controltower/controlTowerControl.js +1 -1
- package/cur/reportDefinition.d.ts +3 -3
- package/datasync/agent.d.ts +1 -1
- package/datasync/agent.js +1 -1
- package/dynamodb/table.d.ts +1 -1
- package/dynamodb/table.js +1 -1
- package/dynamodb/tag.d.ts +1 -1
- package/dynamodb/tag.js +1 -1
- package/ec2/getManagedPrefixList.d.ts +2 -2
- package/ec2/getManagedPrefixList.js +2 -2
- package/ec2/securityGroupRule.d.ts +1 -1
- package/ec2/securityGroupRule.js +1 -1
- package/ec2/vpc.d.ts +2 -2
- package/ec2/vpc.js +2 -2
- package/ec2/vpcIpam.d.ts +1 -1
- package/ec2/vpcIpam.js +1 -1
- package/ec2/vpcIpamPool.d.ts +4 -4
- package/ec2/vpcIpamPool.js +4 -4
- package/ec2/vpcIpamPoolCidr.d.ts +3 -3
- package/ec2/vpcIpamPoolCidr.js +3 -3
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +4 -4
- package/ec2/vpcIpamPoolCidrAllocation.js +4 -4
- package/ec2/vpcIpamPreviewNextCidr.d.ts +2 -2
- package/ec2/vpcIpamPreviewNextCidr.js +2 -2
- package/ec2/vpcIpamResourceDiscovery.d.ts +1 -1
- package/ec2/vpcIpamResourceDiscovery.js +1 -1
- package/ec2/vpcIpamScope.d.ts +1 -1
- package/ec2/vpcIpamScope.js +1 -1
- package/ecr/registryPolicy.d.ts +1 -1
- package/ecr/registryPolicy.js +1 -1
- package/eks/podIdentityAssociation.d.ts +32 -0
- package/eks/podIdentityAssociation.js +6 -0
- package/eks/podIdentityAssociation.js.map +1 -1
- package/elasticsearch/domain.d.ts +2 -2
- package/elasticsearch/domain.js +2 -2
- package/emr/cluster.d.ts +12 -0
- package/emr/cluster.js +2 -0
- package/emr/cluster.js.map +1 -1
- package/fms/policy.d.ts +12 -0
- package/fms/policy.js +2 -0
- package/fms/policy.js.map +1 -1
- package/getRegion.d.ts +2 -2
- package/getService.d.ts +2 -2
- package/getService.js +2 -2
- package/glue/job.d.ts +12 -0
- package/glue/job.js +2 -0
- package/glue/job.js.map +1 -1
- package/glue/resourcePolicy.d.ts +1 -1
- package/glue/resourcePolicy.js +1 -1
- package/guardduty/detectorFeature.d.ts +21 -0
- package/guardduty/detectorFeature.js +21 -0
- package/guardduty/detectorFeature.js.map +1 -1
- package/guardduty/memberDetectorFeature.d.ts +1 -11
- package/guardduty/memberDetectorFeature.js +1 -11
- package/guardduty/memberDetectorFeature.js.map +1 -1
- package/guardduty/publishingDestination.d.ts +2 -2
- package/guardduty/publishingDestination.js +2 -2
- package/imagebuilder/imageRecipe.d.ts +1 -1
- package/imagebuilder/imageRecipe.js +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +1 -1
- package/kinesis/firehoseDeliveryStream.js +1 -1
- package/kms/getKey.d.ts +1 -1
- package/kms/key.d.ts +3 -3
- package/lightsail/instancePublicPorts.d.ts +6 -6
- package/macie/findingsFilter.d.ts +1 -1
- package/macie/findingsFilter.js +1 -1
- package/mediastore/containerPolicy.d.ts +1 -1
- package/mediastore/containerPolicy.js +1 -1
- package/networkfirewall/firewallPolicy.d.ts +51 -2
- package/networkfirewall/firewallPolicy.js +51 -2
- package/networkfirewall/firewallPolicy.js.map +1 -1
- package/networkmanager/dxGatewayAttachment.d.ts +1 -1
- package/networkmanager/dxGatewayAttachment.js +1 -1
- package/opensearch/domain.d.ts +2 -2
- package/opensearch/domain.js +2 -2
- package/opensearch/inboundConnectionAccepter.d.ts +2 -2
- package/opensearch/inboundConnectionAccepter.js +2 -2
- package/opensearch/outboundConnection.d.ts +2 -2
- package/opensearch/outboundConnection.js +2 -2
- package/opensearchingest/pipeline.d.ts +1 -1
- package/opensearchingest/pipeline.js +1 -1
- package/package.json +2 -2
- package/quicksight/dataSource.d.ts +1 -1
- package/quicksight/dataSource.js +1 -1
- package/route53/getTrafficPolicyDocument.d.ts +4 -4
- package/route53/getTrafficPolicyDocument.js +4 -4
- package/s3/bucket.d.ts +5 -4
- package/s3/bucketPolicy.d.ts +2 -0
- package/s3/bucketPolicy.js +2 -0
- package/s3/bucketPolicy.js.map +1 -1
- package/s3tables/table.d.ts +62 -0
- package/s3tables/table.js +49 -0
- package/s3tables/table.js.map +1 -1
- package/sagemaker/flowDefinition.d.ts +1 -1
- package/sagemaker/flowDefinition.js +1 -1
- package/securityhub/productSubscription.d.ts +1 -1
- package/securityhub/productSubscription.js +1 -1
- package/securityhub/standardsSubscription.d.ts +1 -1
- package/securityhub/standardsSubscription.js +1 -1
- package/serverlessrepository/cloudFormationStack.d.ts +1 -1
- package/serverlessrepository/cloudFormationStack.js +1 -1
- package/shield/drtAccessLogBucketAssociation.d.ts +1 -1
- package/shield/drtAccessLogBucketAssociation.js +1 -1
- package/shield/protection.d.ts +1 -1
- package/shield/protection.js +1 -1
- package/shield/protectionGroup.d.ts +2 -2
- package/shield/protectionGroup.js +2 -2
- package/shield/protectionHealthCheckAssociation.d.ts +1 -1
- package/shield/protectionHealthCheckAssociation.js +1 -1
- package/ssm/parameter.d.ts +1 -1
- package/ssm/quicksetupConfigurationManager.d.ts +2 -2
- package/ssm/quicksetupConfigurationManager.js +2 -2
- package/types/input.d.ts +137 -20
- package/types/input.js.map +1 -1
- package/types/output.d.ts +137 -19
- package/types/output.js.map +1 -1
|
@@ -18,12 +18,12 @@ const utilities = require("../utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const current = aws.getRegion({});
|
|
20
20
|
* const exampleVpcIpam = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
21
|
-
* regionName: current.then(current => current.
|
|
21
|
+
* regionName: current.then(current => current.region),
|
|
22
22
|
* }]});
|
|
23
23
|
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("example", {
|
|
24
24
|
* addressFamily: "ipv4",
|
|
25
25
|
* ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
|
|
26
|
-
* locale: current.then(current => current.
|
|
26
|
+
* locale: current.then(current => current.region),
|
|
27
27
|
* });
|
|
28
28
|
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("example", {
|
|
29
29
|
* ipamPoolId: exampleVpcIpamPool.id,
|
|
@@ -16,7 +16,7 @@ import * as outputs from "../types/output";
|
|
|
16
16
|
* const main = new aws.ec2.VpcIpamResourceDiscovery("main", {
|
|
17
17
|
* description: "My IPAM Resource Discovery",
|
|
18
18
|
* operatingRegions: [{
|
|
19
|
-
* regionName: current.then(current => current.
|
|
19
|
+
* regionName: current.then(current => current.region),
|
|
20
20
|
* }],
|
|
21
21
|
* tags: {
|
|
22
22
|
* Test: "Main",
|
|
@@ -20,7 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* const main = new aws.ec2.VpcIpamResourceDiscovery("main", {
|
|
21
21
|
* description: "My IPAM Resource Discovery",
|
|
22
22
|
* operatingRegions: [{
|
|
23
|
-
* regionName: current.then(current => current.
|
|
23
|
+
* regionName: current.then(current => current.region),
|
|
24
24
|
* }],
|
|
25
25
|
* tags: {
|
|
26
26
|
* Test: "Main",
|
package/ec2/vpcIpamScope.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const current = aws.getRegion({});
|
|
14
14
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
15
|
-
* regionName: current.then(current => current.
|
|
15
|
+
* regionName: current.then(current => current.region),
|
|
16
16
|
* }]});
|
|
17
17
|
* const exampleVpcIpamScope = new aws.ec2.VpcIpamScope("example", {
|
|
18
18
|
* ipamId: example.id,
|
package/ec2/vpcIpamScope.js
CHANGED
|
@@ -18,7 +18,7 @@ const utilities = require("../utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const current = aws.getRegion({});
|
|
20
20
|
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
21
|
-
* regionName: current.then(current => current.
|
|
21
|
+
* regionName: current.then(current => current.region),
|
|
22
22
|
* }]});
|
|
23
23
|
* const exampleVpcIpamScope = new aws.ec2.VpcIpamScope("example", {
|
|
24
24
|
* ipamId: example.id,
|
package/ecr/registryPolicy.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import * as inputs from "../types/input";
|
|
|
23
23
|
* AWS: Promise.all([currentGetPartition, current]).then(([currentGetPartition, current]) => `arn:${currentGetPartition.partition}:iam::${current.accountId}:root`),
|
|
24
24
|
* },
|
|
25
25
|
* Action: ["ecr:ReplicateImage"],
|
|
26
|
-
* Resource: [Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:ecr:${currentGetRegion.
|
|
26
|
+
* Resource: [Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:ecr:${currentGetRegion.region}:${current.accountId}:repository/*`)],
|
|
27
27
|
* }],
|
|
28
28
|
* })});
|
|
29
29
|
* ```
|
package/ecr/registryPolicy.js
CHANGED
|
@@ -28,7 +28,7 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* AWS: Promise.all([currentGetPartition, current]).then(([currentGetPartition, current]) => `arn:${currentGetPartition.partition}:iam::${current.accountId}:root`),
|
|
29
29
|
* },
|
|
30
30
|
* Action: ["ecr:ReplicateImage"],
|
|
31
|
-
* Resource: [Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:ecr:${currentGetRegion.
|
|
31
|
+
* Resource: [Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:ecr:${currentGetRegion.region}:${current.accountId}:repository/*`)],
|
|
32
32
|
* }],
|
|
33
33
|
* })});
|
|
34
34
|
* ```
|
|
@@ -83,6 +83,14 @@ export declare class PodIdentityAssociation extends pulumi.CustomResource {
|
|
|
83
83
|
* The name of the cluster to create the association in.
|
|
84
84
|
*/
|
|
85
85
|
readonly clusterName: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Disable the tags that are automatically added to role session by Amazon EKS.
|
|
88
|
+
*/
|
|
89
|
+
readonly disableSessionTags: pulumi.Output<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* The unique identifier for this association for a target IAM role. You put this value in the trust policy of the target role, in a Condition to match the sts.ExternalId.
|
|
92
|
+
*/
|
|
93
|
+
readonly externalId: pulumi.Output<string>;
|
|
86
94
|
/**
|
|
87
95
|
* The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
|
|
88
96
|
*/
|
|
@@ -113,6 +121,10 @@ export declare class PodIdentityAssociation extends pulumi.CustomResource {
|
|
|
113
121
|
readonly tagsAll: pulumi.Output<{
|
|
114
122
|
[key: string]: string;
|
|
115
123
|
}>;
|
|
124
|
+
/**
|
|
125
|
+
* The Amazon Resource Name (ARN) of the IAM role to be chained to the the IAM role specified as `roleArn`.
|
|
126
|
+
*/
|
|
127
|
+
readonly targetRoleArn: pulumi.Output<string | undefined>;
|
|
116
128
|
/**
|
|
117
129
|
* Create a PodIdentityAssociation resource with the given unique name, arguments, and options.
|
|
118
130
|
*
|
|
@@ -138,6 +150,14 @@ export interface PodIdentityAssociationState {
|
|
|
138
150
|
* The name of the cluster to create the association in.
|
|
139
151
|
*/
|
|
140
152
|
clusterName?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* Disable the tags that are automatically added to role session by Amazon EKS.
|
|
155
|
+
*/
|
|
156
|
+
disableSessionTags?: pulumi.Input<boolean>;
|
|
157
|
+
/**
|
|
158
|
+
* The unique identifier for this association for a target IAM role. You put this value in the trust policy of the target role, in a Condition to match the sts.ExternalId.
|
|
159
|
+
*/
|
|
160
|
+
externalId?: pulumi.Input<string>;
|
|
141
161
|
/**
|
|
142
162
|
* The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
|
|
143
163
|
*/
|
|
@@ -168,6 +188,10 @@ export interface PodIdentityAssociationState {
|
|
|
168
188
|
tagsAll?: pulumi.Input<{
|
|
169
189
|
[key: string]: pulumi.Input<string>;
|
|
170
190
|
}>;
|
|
191
|
+
/**
|
|
192
|
+
* The Amazon Resource Name (ARN) of the IAM role to be chained to the the IAM role specified as `roleArn`.
|
|
193
|
+
*/
|
|
194
|
+
targetRoleArn?: pulumi.Input<string>;
|
|
171
195
|
}
|
|
172
196
|
/**
|
|
173
197
|
* The set of arguments for constructing a PodIdentityAssociation resource.
|
|
@@ -177,6 +201,10 @@ export interface PodIdentityAssociationArgs {
|
|
|
177
201
|
* The name of the cluster to create the association in.
|
|
178
202
|
*/
|
|
179
203
|
clusterName: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Disable the tags that are automatically added to role session by Amazon EKS.
|
|
206
|
+
*/
|
|
207
|
+
disableSessionTags?: pulumi.Input<boolean>;
|
|
180
208
|
/**
|
|
181
209
|
* The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
|
|
182
210
|
*/
|
|
@@ -201,4 +229,8 @@ export interface PodIdentityAssociationArgs {
|
|
|
201
229
|
tags?: pulumi.Input<{
|
|
202
230
|
[key: string]: pulumi.Input<string>;
|
|
203
231
|
}>;
|
|
232
|
+
/**
|
|
233
|
+
* The Amazon Resource Name (ARN) of the IAM role to be chained to the the IAM role specified as `roleArn`.
|
|
234
|
+
*/
|
|
235
|
+
targetRoleArn?: pulumi.Input<string>;
|
|
204
236
|
}
|
|
@@ -92,12 +92,15 @@ class PodIdentityAssociation extends pulumi.CustomResource {
|
|
|
92
92
|
resourceInputs["associationArn"] = state ? state.associationArn : undefined;
|
|
93
93
|
resourceInputs["associationId"] = state ? state.associationId : undefined;
|
|
94
94
|
resourceInputs["clusterName"] = state ? state.clusterName : undefined;
|
|
95
|
+
resourceInputs["disableSessionTags"] = state ? state.disableSessionTags : undefined;
|
|
96
|
+
resourceInputs["externalId"] = state ? state.externalId : undefined;
|
|
95
97
|
resourceInputs["namespace"] = state ? state.namespace : undefined;
|
|
96
98
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
97
99
|
resourceInputs["roleArn"] = state ? state.roleArn : undefined;
|
|
98
100
|
resourceInputs["serviceAccount"] = state ? state.serviceAccount : undefined;
|
|
99
101
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
100
102
|
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
103
|
+
resourceInputs["targetRoleArn"] = state ? state.targetRoleArn : undefined;
|
|
101
104
|
}
|
|
102
105
|
else {
|
|
103
106
|
const args = argsOrState;
|
|
@@ -114,13 +117,16 @@ class PodIdentityAssociation extends pulumi.CustomResource {
|
|
|
114
117
|
throw new Error("Missing required property 'serviceAccount'");
|
|
115
118
|
}
|
|
116
119
|
resourceInputs["clusterName"] = args ? args.clusterName : undefined;
|
|
120
|
+
resourceInputs["disableSessionTags"] = args ? args.disableSessionTags : undefined;
|
|
117
121
|
resourceInputs["namespace"] = args ? args.namespace : undefined;
|
|
118
122
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
119
123
|
resourceInputs["roleArn"] = args ? args.roleArn : undefined;
|
|
120
124
|
resourceInputs["serviceAccount"] = args ? args.serviceAccount : undefined;
|
|
121
125
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
126
|
+
resourceInputs["targetRoleArn"] = args ? args.targetRoleArn : undefined;
|
|
122
127
|
resourceInputs["associationArn"] = undefined /*out*/;
|
|
123
128
|
resourceInputs["associationId"] = undefined /*out*/;
|
|
129
|
+
resourceInputs["externalId"] = undefined /*out*/;
|
|
124
130
|
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
125
131
|
}
|
|
126
132
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"podIdentityAssociation.js","sourceRoot":"","sources":["../../eks/podIdentityAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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,K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AAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,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,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AArIL,wDAsIC;AAxHG,gBAAgB;AACO,mCAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -45,7 +45,7 @@ import * as outputs from "../types/output";
|
|
|
45
45
|
* "Action": "es:*",
|
|
46
46
|
* "Principal": "*",
|
|
47
47
|
* "Effect": "Allow",
|
|
48
|
-
* "Resource": "arn:aws:es:${current.
|
|
48
|
+
* "Resource": "arn:aws:es:${current.region}:${currentGetCallerIdentity.accountId}:domain/${domain}/*",
|
|
49
49
|
* "Condition": {
|
|
50
50
|
* "IpAddress": {"aws:SourceIp": ["66.193.100.22/32"]}
|
|
51
51
|
* }
|
|
@@ -149,7 +149,7 @@ import * as outputs from "../types/output";
|
|
|
149
149
|
* "Action": "es:*",
|
|
150
150
|
* "Principal": "*",
|
|
151
151
|
* "Effect": "Allow",
|
|
152
|
-
* "Resource": "arn:aws:es:${current.
|
|
152
|
+
* "Resource": "arn:aws:es:${current.region}:${currentGetCallerIdentity.accountId}:domain/${domain}/*"
|
|
153
153
|
* }
|
|
154
154
|
* ]
|
|
155
155
|
* }
|
package/elasticsearch/domain.js
CHANGED
|
@@ -49,7 +49,7 @@ const utilities = require("../utilities");
|
|
|
49
49
|
* "Action": "es:*",
|
|
50
50
|
* "Principal": "*",
|
|
51
51
|
* "Effect": "Allow",
|
|
52
|
-
* "Resource": "arn:aws:es:${current.
|
|
52
|
+
* "Resource": "arn:aws:es:${current.region}:${currentGetCallerIdentity.accountId}:domain/${domain}/*",
|
|
53
53
|
* "Condition": {
|
|
54
54
|
* "IpAddress": {"aws:SourceIp": ["66.193.100.22/32"]}
|
|
55
55
|
* }
|
|
@@ -153,7 +153,7 @@ const utilities = require("../utilities");
|
|
|
153
153
|
* "Action": "es:*",
|
|
154
154
|
* "Principal": "*",
|
|
155
155
|
* "Effect": "Allow",
|
|
156
|
-
* "Resource": "arn:aws:es:${current.
|
|
156
|
+
* "Resource": "arn:aws:es:${current.region}:${currentGetCallerIdentity.accountId}:domain/${domain}/*"
|
|
157
157
|
* }
|
|
158
158
|
* ]
|
|
159
159
|
* }
|
package/emr/cluster.d.ts
CHANGED
|
@@ -401,6 +401,10 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
401
401
|
* Name of the job flow.
|
|
402
402
|
*/
|
|
403
403
|
readonly name: pulumi.Output<string>;
|
|
404
|
+
/**
|
|
405
|
+
* Amazon Linux release for all nodes in a cluster launch RunJobFlow request. If not specified, Amazon EMR uses the latest validated Amazon Linux release for cluster launch.
|
|
406
|
+
*/
|
|
407
|
+
readonly osReleaseLabel: pulumi.Output<string | undefined>;
|
|
404
408
|
/**
|
|
405
409
|
* The specified placement group configuration for an Amazon EMR cluster.
|
|
406
410
|
*/
|
|
@@ -584,6 +588,10 @@ export interface ClusterState {
|
|
|
584
588
|
* Name of the job flow.
|
|
585
589
|
*/
|
|
586
590
|
name?: pulumi.Input<string>;
|
|
591
|
+
/**
|
|
592
|
+
* Amazon Linux release for all nodes in a cluster launch RunJobFlow request. If not specified, Amazon EMR uses the latest validated Amazon Linux release for cluster launch.
|
|
593
|
+
*/
|
|
594
|
+
osReleaseLabel?: pulumi.Input<string>;
|
|
587
595
|
/**
|
|
588
596
|
* The specified placement group configuration for an Amazon EMR cluster.
|
|
589
597
|
*/
|
|
@@ -750,6 +758,10 @@ export interface ClusterArgs {
|
|
|
750
758
|
* Name of the job flow.
|
|
751
759
|
*/
|
|
752
760
|
name?: pulumi.Input<string>;
|
|
761
|
+
/**
|
|
762
|
+
* Amazon Linux release for all nodes in a cluster launch RunJobFlow request. If not specified, Amazon EMR uses the latest validated Amazon Linux release for cluster launch.
|
|
763
|
+
*/
|
|
764
|
+
osReleaseLabel?: pulumi.Input<string>;
|
|
753
765
|
/**
|
|
754
766
|
* The specified placement group configuration for an Amazon EMR cluster.
|
|
755
767
|
*/
|
package/emr/cluster.js
CHANGED
|
@@ -328,6 +328,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
328
328
|
resourceInputs["masterInstanceGroup"] = state ? state.masterInstanceGroup : undefined;
|
|
329
329
|
resourceInputs["masterPublicDns"] = state ? state.masterPublicDns : undefined;
|
|
330
330
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
331
|
+
resourceInputs["osReleaseLabel"] = state ? state.osReleaseLabel : undefined;
|
|
331
332
|
resourceInputs["placementGroupConfigs"] = state ? state.placementGroupConfigs : undefined;
|
|
332
333
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
333
334
|
resourceInputs["releaseLabel"] = state ? state.releaseLabel : undefined;
|
|
@@ -370,6 +371,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
370
371
|
resourceInputs["masterInstanceFleet"] = args ? args.masterInstanceFleet : undefined;
|
|
371
372
|
resourceInputs["masterInstanceGroup"] = args ? args.masterInstanceGroup : undefined;
|
|
372
373
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
374
|
+
resourceInputs["osReleaseLabel"] = args ? args.osReleaseLabel : undefined;
|
|
373
375
|
resourceInputs["placementGroupConfigs"] = args ? args.placementGroupConfigs : undefined;
|
|
374
376
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
375
377
|
resourceInputs["releaseLabel"] = args ? args.releaseLabel : undefined;
|
package/emr/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../emr/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+QG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../emr/cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;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S,CAAC;YACtF,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,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;SACjD;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;;AAzSL,0BA0SC;AA5RG,gBAAgB;AACO,oBAAY,GAAG,yBAAyB,CAAC"}
|
package/fms/policy.d.ts
CHANGED
|
@@ -109,6 +109,10 @@ export declare class Policy extends pulumi.CustomResource {
|
|
|
109
109
|
*/
|
|
110
110
|
readonly remediationEnabled: pulumi.Output<boolean | undefined>;
|
|
111
111
|
readonly resourceSetIds: pulumi.Output<string[]>;
|
|
112
|
+
/**
|
|
113
|
+
* Controls how multiple resource tags are combined: with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag. The valid values are `AND` and `OR`.
|
|
114
|
+
*/
|
|
115
|
+
readonly resourceTagLogicalOperator: pulumi.Output<string>;
|
|
112
116
|
/**
|
|
113
117
|
* A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
|
|
114
118
|
*/
|
|
@@ -194,6 +198,10 @@ export interface PolicyState {
|
|
|
194
198
|
*/
|
|
195
199
|
remediationEnabled?: pulumi.Input<boolean>;
|
|
196
200
|
resourceSetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
201
|
+
/**
|
|
202
|
+
* Controls how multiple resource tags are combined: with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag. The valid values are `AND` and `OR`.
|
|
203
|
+
*/
|
|
204
|
+
resourceTagLogicalOperator?: pulumi.Input<string>;
|
|
197
205
|
/**
|
|
198
206
|
* A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
|
|
199
207
|
*/
|
|
@@ -266,6 +274,10 @@ export interface PolicyArgs {
|
|
|
266
274
|
*/
|
|
267
275
|
remediationEnabled?: pulumi.Input<boolean>;
|
|
268
276
|
resourceSetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
277
|
+
/**
|
|
278
|
+
* Controls how multiple resource tags are combined: with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag. The valid values are `AND` and `OR`.
|
|
279
|
+
*/
|
|
280
|
+
resourceTagLogicalOperator?: pulumi.Input<string>;
|
|
269
281
|
/**
|
|
270
282
|
* A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
|
|
271
283
|
*/
|
package/fms/policy.js
CHANGED
|
@@ -95,6 +95,7 @@ class Policy extends pulumi.CustomResource {
|
|
|
95
95
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
96
96
|
resourceInputs["remediationEnabled"] = state ? state.remediationEnabled : undefined;
|
|
97
97
|
resourceInputs["resourceSetIds"] = state ? state.resourceSetIds : undefined;
|
|
98
|
+
resourceInputs["resourceTagLogicalOperator"] = state ? state.resourceTagLogicalOperator : undefined;
|
|
98
99
|
resourceInputs["resourceTags"] = state ? state.resourceTags : undefined;
|
|
99
100
|
resourceInputs["resourceType"] = state ? state.resourceType : undefined;
|
|
100
101
|
resourceInputs["resourceTypeLists"] = state ? state.resourceTypeLists : undefined;
|
|
@@ -120,6 +121,7 @@ class Policy extends pulumi.CustomResource {
|
|
|
120
121
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
121
122
|
resourceInputs["remediationEnabled"] = args ? args.remediationEnabled : undefined;
|
|
122
123
|
resourceInputs["resourceSetIds"] = args ? args.resourceSetIds : undefined;
|
|
124
|
+
resourceInputs["resourceTagLogicalOperator"] = args ? args.resourceTagLogicalOperator : undefined;
|
|
123
125
|
resourceInputs["resourceTags"] = args ? args.resourceTags : undefined;
|
|
124
126
|
resourceInputs["resourceType"] = args ? args.resourceType : undefined;
|
|
125
127
|
resourceInputs["resourceTypeLists"] = args ? args.resourceTypeLists : undefined;
|
package/fms/policy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../fms/policy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,U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CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,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,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAjKL,wBAkKC;AApJG,gBAAgB;AACO,mBAAY,GAAG,uBAAuB,CAAC"}
|
package/getRegion.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export interface GetRegionArgs {
|
|
|
36
36
|
*/
|
|
37
37
|
name?: string;
|
|
38
38
|
/**
|
|
39
|
-
* Full name of the region to select (e.g. `us-east-1`)
|
|
39
|
+
* Full name of the region to select (e.g. `us-east-1`), and the 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.
|
|
40
40
|
*/
|
|
41
41
|
region?: string;
|
|
42
42
|
}
|
|
@@ -93,7 +93,7 @@ export interface GetRegionOutputArgs {
|
|
|
93
93
|
*/
|
|
94
94
|
name?: pulumi.Input<string>;
|
|
95
95
|
/**
|
|
96
|
-
* Full name of the region to select (e.g. `us-east-1`)
|
|
96
|
+
* Full name of the region to select (e.g. `us-east-1`), and the 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.
|
|
97
97
|
*/
|
|
98
98
|
region?: pulumi.Input<string>;
|
|
99
99
|
}
|
package/getService.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const current = aws.getRegion({});
|
|
14
14
|
* const test = current.then(current => aws.getService({
|
|
15
|
-
* region: current.
|
|
15
|
+
* region: current.region,
|
|
16
16
|
* serviceId: "ec2",
|
|
17
17
|
* }));
|
|
18
18
|
* ```
|
|
@@ -95,7 +95,7 @@ export interface GetServiceResult {
|
|
|
95
95
|
*
|
|
96
96
|
* const current = aws.getRegion({});
|
|
97
97
|
* const test = current.then(current => aws.getService({
|
|
98
|
-
* region: current.
|
|
98
|
+
* region: current.region,
|
|
99
99
|
* serviceId: "ec2",
|
|
100
100
|
* }));
|
|
101
101
|
* ```
|
package/getService.js
CHANGED
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const current = aws.getRegion({});
|
|
20
20
|
* const test = current.then(current => aws.getService({
|
|
21
|
-
* region: current.
|
|
21
|
+
* region: current.region,
|
|
22
22
|
* serviceId: "ec2",
|
|
23
23
|
* }));
|
|
24
24
|
* ```
|
|
@@ -71,7 +71,7 @@ exports.getService = getService;
|
|
|
71
71
|
*
|
|
72
72
|
* const current = aws.getRegion({});
|
|
73
73
|
* const test = current.then(current => aws.getService({
|
|
74
|
-
* region: current.
|
|
74
|
+
* region: current.region,
|
|
75
75
|
* serviceId: "ec2",
|
|
76
76
|
* }));
|
|
77
77
|
* ```
|
package/glue/job.d.ts
CHANGED
|
@@ -252,6 +252,10 @@ export declare class Job extends pulumi.CustomResource {
|
|
|
252
252
|
* The version of glue to use, for example "1.0". Ray jobs should set this to 4.0 or greater. For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
|
|
253
253
|
*/
|
|
254
254
|
readonly glueVersion: pulumi.Output<string>;
|
|
255
|
+
/**
|
|
256
|
+
* Describes how a job was created. Valid values are `SCRIPT`, `NOTEBOOK` and `VISUAL`.
|
|
257
|
+
*/
|
|
258
|
+
readonly jobMode: pulumi.Output<string>;
|
|
255
259
|
/**
|
|
256
260
|
* Specifies whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing.
|
|
257
261
|
*/
|
|
@@ -376,6 +380,10 @@ export interface JobState {
|
|
|
376
380
|
* The version of glue to use, for example "1.0". Ray jobs should set this to 4.0 or greater. For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
|
|
377
381
|
*/
|
|
378
382
|
glueVersion?: pulumi.Input<string>;
|
|
383
|
+
/**
|
|
384
|
+
* Describes how a job was created. Valid values are `SCRIPT`, `NOTEBOOK` and `VISUAL`.
|
|
385
|
+
*/
|
|
386
|
+
jobMode?: pulumi.Input<string>;
|
|
379
387
|
/**
|
|
380
388
|
* Specifies whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing.
|
|
381
389
|
*/
|
|
@@ -488,6 +496,10 @@ export interface JobArgs {
|
|
|
488
496
|
* The version of glue to use, for example "1.0". Ray jobs should set this to 4.0 or greater. For information about available versions, see the [AWS Glue Release Notes](https://docs.aws.amazon.com/glue/latest/dg/release-notes.html).
|
|
489
497
|
*/
|
|
490
498
|
glueVersion?: pulumi.Input<string>;
|
|
499
|
+
/**
|
|
500
|
+
* Describes how a job was created. Valid values are `SCRIPT`, `NOTEBOOK` and `VISUAL`.
|
|
501
|
+
*/
|
|
502
|
+
jobMode?: pulumi.Input<string>;
|
|
491
503
|
/**
|
|
492
504
|
* Specifies whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing.
|
|
493
505
|
*/
|
package/glue/job.js
CHANGED
|
@@ -242,6 +242,7 @@ class Job extends pulumi.CustomResource {
|
|
|
242
242
|
resourceInputs["executionClass"] = state ? state.executionClass : undefined;
|
|
243
243
|
resourceInputs["executionProperty"] = state ? state.executionProperty : undefined;
|
|
244
244
|
resourceInputs["glueVersion"] = state ? state.glueVersion : undefined;
|
|
245
|
+
resourceInputs["jobMode"] = state ? state.jobMode : undefined;
|
|
245
246
|
resourceInputs["jobRunQueuingEnabled"] = state ? state.jobRunQueuingEnabled : undefined;
|
|
246
247
|
resourceInputs["maintenanceWindow"] = state ? state.maintenanceWindow : undefined;
|
|
247
248
|
resourceInputs["maxCapacity"] = state ? state.maxCapacity : undefined;
|
|
@@ -274,6 +275,7 @@ class Job extends pulumi.CustomResource {
|
|
|
274
275
|
resourceInputs["executionClass"] = args ? args.executionClass : undefined;
|
|
275
276
|
resourceInputs["executionProperty"] = args ? args.executionProperty : undefined;
|
|
276
277
|
resourceInputs["glueVersion"] = args ? args.glueVersion : undefined;
|
|
278
|
+
resourceInputs["jobMode"] = args ? args.jobMode : undefined;
|
|
277
279
|
resourceInputs["jobRunQueuingEnabled"] = args ? args.jobRunQueuingEnabled : undefined;
|
|
278
280
|
resourceInputs["maintenanceWindow"] = args ? args.maintenanceWindow : undefined;
|
|
279
281
|
resourceInputs["maxCapacity"] = args ? args.maxCapacity : undefined;
|
package/glue/job.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job.js","sourceRoot":"","sources":["../../glue/job.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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c,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,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAlNL,kBAmNC;AArMG,gBAAgB;AACO,gBAAY,GAAG,kBAAkB,CAAC"}
|
package/glue/resourcePolicy.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* const glue_example_policy = Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => aws.iam.getPolicyDocument({
|
|
15
15
|
* statements: [{
|
|
16
16
|
* actions: ["glue:CreateTable"],
|
|
17
|
-
* resources: [`arn:${currentGetPartition.partition}:glue:${currentGetRegion.
|
|
17
|
+
* resources: [`arn:${currentGetPartition.partition}:glue:${currentGetRegion.region}:${current.accountId}:*`],
|
|
18
18
|
* principals: [{
|
|
19
19
|
* identifiers: ["*"],
|
|
20
20
|
* type: "AWS",
|
package/glue/resourcePolicy.js
CHANGED
|
@@ -20,7 +20,7 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* const glue_example_policy = Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => aws.iam.getPolicyDocument({
|
|
21
21
|
* statements: [{
|
|
22
22
|
* actions: ["glue:CreateTable"],
|
|
23
|
-
* resources: [`arn:${currentGetPartition.partition}:glue:${currentGetRegion.
|
|
23
|
+
* resources: [`arn:${currentGetPartition.partition}:glue:${currentGetRegion.region}:${current.accountId}:*`],
|
|
24
24
|
* principals: [{
|
|
25
25
|
* identifiers: ["*"],
|
|
26
26
|
* type: "AWS",
|
|
@@ -13,6 +13,27 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* import * as aws from "@pulumi/aws";
|
|
14
14
|
*
|
|
15
15
|
* const example = new aws.guardduty.Detector("example", {enable: true});
|
|
16
|
+
* const s3Protection = new aws.guardduty.DetectorFeature("s3_protection", {
|
|
17
|
+
* detectorId: example.id,
|
|
18
|
+
* name: "S3_DATA_EVENTS",
|
|
19
|
+
* status: "ENABLED",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Extended Threat Detection for EKS
|
|
24
|
+
*
|
|
25
|
+
* To enable GuardDuty [Extended Threat Detection](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-extended-threat-detection.html) for EKS, you need at least one of these features enabled: [EKS Protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html) or [Runtime Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring-configuration.html). For maximum detection coverage, enabling both is recommended to enhance detection capabilities.
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as aws from "@pulumi/aws";
|
|
30
|
+
*
|
|
31
|
+
* const example = new aws.guardduty.Detector("example", {enable: true});
|
|
32
|
+
* const eksProtection = new aws.guardduty.DetectorFeature("eks_protection", {
|
|
33
|
+
* detectorId: example.id,
|
|
34
|
+
* name: "EKS_AUDIT_LOGS",
|
|
35
|
+
* status: "ENABLED",
|
|
36
|
+
* });
|
|
16
37
|
* const eksRuntimeMonitoring = new aws.guardduty.DetectorFeature("eks_runtime_monitoring", {
|
|
17
38
|
* detectorId: example.id,
|
|
18
39
|
* name: "EKS_RUNTIME_MONITORING",
|
|
@@ -17,6 +17,27 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* import * as aws from "@pulumi/aws";
|
|
18
18
|
*
|
|
19
19
|
* const example = new aws.guardduty.Detector("example", {enable: true});
|
|
20
|
+
* const s3Protection = new aws.guardduty.DetectorFeature("s3_protection", {
|
|
21
|
+
* detectorId: example.id,
|
|
22
|
+
* name: "S3_DATA_EVENTS",
|
|
23
|
+
* status: "ENABLED",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Extended Threat Detection for EKS
|
|
28
|
+
*
|
|
29
|
+
* To enable GuardDuty [Extended Threat Detection](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-extended-threat-detection.html) for EKS, you need at least one of these features enabled: [EKS Protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html) or [Runtime Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring-configuration.html). For maximum detection coverage, enabling both is recommended to enhance detection capabilities.
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as aws from "@pulumi/aws";
|
|
34
|
+
*
|
|
35
|
+
* const example = new aws.guardduty.Detector("example", {enable: true});
|
|
36
|
+
* const eksProtection = new aws.guardduty.DetectorFeature("eks_protection", {
|
|
37
|
+
* detectorId: example.id,
|
|
38
|
+
* name: "EKS_AUDIT_LOGS",
|
|
39
|
+
* status: "ENABLED",
|
|
40
|
+
* });
|
|
20
41
|
* const eksRuntimeMonitoring = new aws.guardduty.DetectorFeature("eks_runtime_monitoring", {
|
|
21
42
|
* detectorId: example.id,
|
|
22
43
|
* name: "EKS_RUNTIME_MONITORING",
|