@pulumi/aws 4.35.0 → 4.36.0-alpha.1643027364
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/appsync/apiCache.d.ts +132 -0
- package/appsync/apiCache.js +97 -0
- package/appsync/apiCache.js.map +1 -0
- package/appsync/domainName.d.ts +111 -0
- package/appsync/domainName.js +88 -0
- package/appsync/domainName.js.map +1 -0
- package/appsync/domainNameApiAssociation.d.ts +83 -0
- package/appsync/domainNameApiAssociation.js +82 -0
- package/appsync/domainNameApiAssociation.js.map +1 -0
- package/appsync/index.d.ts +3 -0
- package/appsync/index.js +15 -0
- package/appsync/index.js.map +1 -1
- package/cloudfront/getOriginAccessIdentity.d.ts +58 -0
- package/cloudfront/getOriginAccessIdentity.js +24 -0
- package/cloudfront/getOriginAccessIdentity.js.map +1 -0
- package/cloudfront/index.d.ts +1 -0
- package/cloudfront/index.js +1 -0
- package/cloudfront/index.js.map +1 -1
- package/cloudsearch/domain.d.ts +138 -0
- package/cloudsearch/domain.js +76 -0
- package/cloudsearch/domain.js.map +1 -0
- package/cloudsearch/domainServiceAccessPolicy.d.ts +69 -0
- package/cloudsearch/domainServiceAccessPolicy.js +68 -0
- package/cloudsearch/domainServiceAccessPolicy.js.map +1 -0
- package/cloudsearch/index.d.ts +2 -0
- package/cloudsearch/index.js +38 -0
- package/cloudsearch/index.js.map +1 -0
- package/cloudwatch/eventTarget.d.ts +4 -7
- package/cloudwatch/eventTarget.js +4 -7
- package/cloudwatch/eventTarget.js.map +1 -1
- package/cognito/getUserPoolClients.d.ts +4 -0
- package/cognito/getUserPoolClients.js.map +1 -1
- package/detective/graph.d.ts +1 -1
- package/detective/graph.js +1 -1
- package/detective/index.d.ts +2 -0
- package/detective/index.js +10 -0
- package/detective/index.js.map +1 -1
- package/detective/invitationAccepter.d.ts +78 -0
- package/detective/invitationAccepter.js +84 -0
- package/detective/invitationAccepter.js.map +1 -0
- package/detective/member.d.ts +165 -0
- package/detective/member.js +107 -0
- package/detective/member.js.map +1 -0
- package/ec2/getIpamPreviewNextCidr.d.ts +53 -0
- package/ec2/getIpamPreviewNextCidr.js +26 -0
- package/ec2/getIpamPreviewNextCidr.js.map +1 -0
- package/ec2/index.d.ts +1 -0
- package/ec2/index.js +1 -0
- package/ec2/index.js.map +1 -1
- package/elasticloadbalancing/loadBalancerPolicy.d.ts +1 -1
- package/elb/loadBalancerPolicy.d.ts +1 -1
- package/fsx/dataRepositoryAssociation.d.ts +219 -0
- package/fsx/dataRepositoryAssociation.js +129 -0
- package/fsx/dataRepositoryAssociation.js.map +1 -0
- package/fsx/index.d.ts +1 -0
- package/fsx/index.js +5 -0
- package/fsx/index.js.map +1 -1
- package/fsx/lustreFileSystem.d.ts +47 -33
- package/fsx/lustreFileSystem.js +4 -0
- package/fsx/lustreFileSystem.js.map +1 -1
- package/glue/schema.d.ts +3 -3
- package/imagebuilder/getImageRecipe.d.ts +4 -0
- package/imagebuilder/getImageRecipe.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +15 -3
- package/imagebuilder/imageRecipe.js +2 -0
- package/imagebuilder/imageRecipe.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +3 -3
- package/lambda/index.d.ts +1 -0
- package/lambda/index.js +5 -0
- package/lambda/index.js.map +1 -1
- package/lambda/invocation.d.ts +114 -0
- package/lambda/invocation.js +90 -0
- package/lambda/invocation.js.map +1 -0
- package/opsworks/customLayer.d.ts +15 -3
- package/opsworks/customLayer.js +2 -0
- package/opsworks/customLayer.js.map +1 -1
- package/opsworks/gangliaLayer.d.ts +3 -0
- package/opsworks/gangliaLayer.js +2 -0
- package/opsworks/gangliaLayer.js.map +1 -1
- package/opsworks/haproxyLayer.d.ts +3 -0
- package/opsworks/haproxyLayer.js +2 -0
- package/opsworks/haproxyLayer.js.map +1 -1
- package/opsworks/javaAppLayer.d.ts +3 -0
- package/opsworks/javaAppLayer.js +2 -0
- package/opsworks/javaAppLayer.js.map +1 -1
- package/opsworks/memcachedLayer.d.ts +3 -0
- package/opsworks/memcachedLayer.js +2 -0
- package/opsworks/memcachedLayer.js.map +1 -1
- package/opsworks/mysqlLayer.d.ts +3 -0
- package/opsworks/mysqlLayer.js +2 -0
- package/opsworks/mysqlLayer.js.map +1 -1
- package/opsworks/nodejsAppLayer.d.ts +3 -0
- package/opsworks/nodejsAppLayer.js +2 -0
- package/opsworks/nodejsAppLayer.js.map +1 -1
- package/opsworks/phpAppLayer.d.ts +3 -0
- package/opsworks/phpAppLayer.js +2 -0
- package/opsworks/phpAppLayer.js.map +1 -1
- package/opsworks/railsAppLayer.d.ts +3 -0
- package/opsworks/railsAppLayer.js +2 -0
- package/opsworks/railsAppLayer.js.map +1 -1
- package/opsworks/staticWebLayer.d.ts +3 -0
- package/opsworks/staticWebLayer.js +2 -0
- package/opsworks/staticWebLayer.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/types/input.d.ts +295 -0
- package/types/output.d.ts +295 -0
package/appsync/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../appsync/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2CAAyB;AACzB,+CAA6B;AAC7B,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAE3B,gCAAgC;AAChC,qCAAkC;AAClC,6CAA0C;AAC1C,yCAAsC;AACtC,6CAA0C;AAC1C,yCAAsC;AAEtC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,eAAM,C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AAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getOriginAccessIdentity(args: GetOriginAccessIdentityArgs, opts?: pulumi.InvokeOptions): Promise<GetOriginAccessIdentityResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getOriginAccessIdentity.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetOriginAccessIdentityArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The identifier for the distribution. For example: `EDFDVBD632BHDS5`.
|
|
9
|
+
*/
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A collection of values returned by getOriginAccessIdentity.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOriginAccessIdentityResult {
|
|
16
|
+
/**
|
|
17
|
+
* Internal value used by CloudFront to allow future
|
|
18
|
+
* updates to the origin access identity.
|
|
19
|
+
*/
|
|
20
|
+
readonly callerReference: string;
|
|
21
|
+
/**
|
|
22
|
+
* A shortcut to the full path for the
|
|
23
|
+
* origin access identity to use in CloudFront, see below.
|
|
24
|
+
*/
|
|
25
|
+
readonly cloudfrontAccessIdentityPath: string;
|
|
26
|
+
/**
|
|
27
|
+
* An optional comment for the origin access identity.
|
|
28
|
+
*/
|
|
29
|
+
readonly comment: string;
|
|
30
|
+
/**
|
|
31
|
+
* The current version of the origin access identity's information.
|
|
32
|
+
* For example: `E2QWRUHAPOMQZL`.
|
|
33
|
+
*/
|
|
34
|
+
readonly etag: string;
|
|
35
|
+
/**
|
|
36
|
+
* A pre-generated ARN for use in S3 bucket policies (see below).
|
|
37
|
+
* Example: `arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity
|
|
38
|
+
* E2QWRUHAPOMQZL`.
|
|
39
|
+
*/
|
|
40
|
+
readonly iamArn: string;
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* The Amazon S3 canonical user ID for the origin
|
|
44
|
+
* access identity, which you use when giving the origin access identity read
|
|
45
|
+
* permission to an object in Amazon S3.
|
|
46
|
+
*/
|
|
47
|
+
readonly s3CanonicalUserId: string;
|
|
48
|
+
}
|
|
49
|
+
export declare function getOriginAccessIdentityOutput(args: GetOriginAccessIdentityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOriginAccessIdentityResult>;
|
|
50
|
+
/**
|
|
51
|
+
* A collection of arguments for invoking getOriginAccessIdentity.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetOriginAccessIdentityOutputArgs {
|
|
54
|
+
/**
|
|
55
|
+
* The identifier for the distribution. For example: `EDFDVBD632BHDS5`.
|
|
56
|
+
*/
|
|
57
|
+
id: pulumi.Input<string>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOriginAccessIdentityOutput = exports.getOriginAccessIdentity = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getOriginAccessIdentity(args, opts) {
|
|
9
|
+
if (!opts) {
|
|
10
|
+
opts = {};
|
|
11
|
+
}
|
|
12
|
+
if (!opts.version) {
|
|
13
|
+
opts.version = utilities.getVersion();
|
|
14
|
+
}
|
|
15
|
+
return pulumi.runtime.invoke("aws:cloudfront/getOriginAccessIdentity:getOriginAccessIdentity", {
|
|
16
|
+
"id": args.id,
|
|
17
|
+
}, opts);
|
|
18
|
+
}
|
|
19
|
+
exports.getOriginAccessIdentity = getOriginAccessIdentity;
|
|
20
|
+
function getOriginAccessIdentityOutput(args, opts) {
|
|
21
|
+
return pulumi.output(args).apply(a => getOriginAccessIdentity(a, opts));
|
|
22
|
+
}
|
|
23
|
+
exports.getOriginAccessIdentityOutput = getOriginAccessIdentityOutput;
|
|
24
|
+
//# sourceMappingURL=getOriginAccessIdentity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOriginAccessIdentity.js","sourceRoot":"","sources":["../../cloudfront/getOriginAccessIdentity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0DAWC;AAkDD,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,sEAEC"}
|
package/cloudfront/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from "./function";
|
|
|
6
6
|
export * from "./getCachePolicy";
|
|
7
7
|
export * from "./getDistribution";
|
|
8
8
|
export * from "./getLogDeliveryCanonicalUserId";
|
|
9
|
+
export * from "./getOriginAccessIdentity";
|
|
9
10
|
export * from "./getOriginRequestPolicy";
|
|
10
11
|
export * from "./getResponseHeadersPolicy";
|
|
11
12
|
export * from "./keyGroup";
|
package/cloudfront/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __exportStar(require("./function"), exports);
|
|
|
23
23
|
__exportStar(require("./getCachePolicy"), exports);
|
|
24
24
|
__exportStar(require("./getDistribution"), exports);
|
|
25
25
|
__exportStar(require("./getLogDeliveryCanonicalUserId"), exports);
|
|
26
|
+
__exportStar(require("./getOriginAccessIdentity"), exports);
|
|
26
27
|
__exportStar(require("./getOriginRequestPolicy"), exports);
|
|
27
28
|
__exportStar(require("./getResponseHeadersPolicy"), exports);
|
|
28
29
|
__exportStar(require("./keyGroup"), exports);
|
package/cloudfront/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudfront/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;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,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Import
|
|
5
|
+
*
|
|
6
|
+
* CloudSearch Domains can be imported using the `name`, e.g.,
|
|
7
|
+
*
|
|
8
|
+
* ```sh
|
|
9
|
+
* $ pulumi import aws:cloudsearch/domain:Domain example example-domain
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare class Domain extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainState, opts?: pulumi.CustomResourceOptions): Domain;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is Domain;
|
|
28
|
+
/**
|
|
29
|
+
* The domain's ARN.
|
|
30
|
+
*/
|
|
31
|
+
readonly arn: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The service endpoint for updating documents in a search domain.
|
|
34
|
+
*/
|
|
35
|
+
readonly documentServiceEndpoint: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* An internally generated unique identifier for the domain.
|
|
38
|
+
*/
|
|
39
|
+
readonly domainId: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Domain endpoint options. Documented below.
|
|
42
|
+
*/
|
|
43
|
+
readonly endpointOptions: pulumi.Output<outputs.cloudsearch.DomainEndpointOptions>;
|
|
44
|
+
/**
|
|
45
|
+
* The index fields for documents added to the domain. Documented below.
|
|
46
|
+
*/
|
|
47
|
+
readonly indexFields: pulumi.Output<outputs.cloudsearch.DomainIndexField[] | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.
|
|
50
|
+
*/
|
|
51
|
+
readonly multiAz: pulumi.Output<boolean>;
|
|
52
|
+
/**
|
|
53
|
+
* A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: `a`-`z` (lower-case letters), `0`-`9`, and `_` (underscore). The name `score` is reserved and cannot be used as a field name.
|
|
54
|
+
*/
|
|
55
|
+
readonly name: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Domain scaling parameters. Documented below.
|
|
58
|
+
*/
|
|
59
|
+
readonly scalingParameters: pulumi.Output<outputs.cloudsearch.DomainScalingParameters>;
|
|
60
|
+
/**
|
|
61
|
+
* The service endpoint for requesting search results from a search domain.
|
|
62
|
+
*/
|
|
63
|
+
readonly searchServiceEndpoint: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Create a Domain resource with the given unique name, arguments, and options.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resource.
|
|
68
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
69
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
70
|
+
*/
|
|
71
|
+
constructor(name: string, args?: DomainArgs, opts?: pulumi.CustomResourceOptions);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Input properties used for looking up and filtering Domain resources.
|
|
75
|
+
*/
|
|
76
|
+
export interface DomainState {
|
|
77
|
+
/**
|
|
78
|
+
* The domain's ARN.
|
|
79
|
+
*/
|
|
80
|
+
arn?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The service endpoint for updating documents in a search domain.
|
|
83
|
+
*/
|
|
84
|
+
documentServiceEndpoint?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* An internally generated unique identifier for the domain.
|
|
87
|
+
*/
|
|
88
|
+
domainId?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Domain endpoint options. Documented below.
|
|
91
|
+
*/
|
|
92
|
+
endpointOptions?: pulumi.Input<inputs.cloudsearch.DomainEndpointOptions>;
|
|
93
|
+
/**
|
|
94
|
+
* The index fields for documents added to the domain. Documented below.
|
|
95
|
+
*/
|
|
96
|
+
indexFields?: pulumi.Input<pulumi.Input<inputs.cloudsearch.DomainIndexField>[]>;
|
|
97
|
+
/**
|
|
98
|
+
* Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.
|
|
99
|
+
*/
|
|
100
|
+
multiAz?: pulumi.Input<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: `a`-`z` (lower-case letters), `0`-`9`, and `_` (underscore). The name `score` is reserved and cannot be used as a field name.
|
|
103
|
+
*/
|
|
104
|
+
name?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Domain scaling parameters. Documented below.
|
|
107
|
+
*/
|
|
108
|
+
scalingParameters?: pulumi.Input<inputs.cloudsearch.DomainScalingParameters>;
|
|
109
|
+
/**
|
|
110
|
+
* The service endpoint for requesting search results from a search domain.
|
|
111
|
+
*/
|
|
112
|
+
searchServiceEndpoint?: pulumi.Input<string>;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* The set of arguments for constructing a Domain resource.
|
|
116
|
+
*/
|
|
117
|
+
export interface DomainArgs {
|
|
118
|
+
/**
|
|
119
|
+
* Domain endpoint options. Documented below.
|
|
120
|
+
*/
|
|
121
|
+
endpointOptions?: pulumi.Input<inputs.cloudsearch.DomainEndpointOptions>;
|
|
122
|
+
/**
|
|
123
|
+
* The index fields for documents added to the domain. Documented below.
|
|
124
|
+
*/
|
|
125
|
+
indexFields?: pulumi.Input<pulumi.Input<inputs.cloudsearch.DomainIndexField>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.
|
|
128
|
+
*/
|
|
129
|
+
multiAz?: pulumi.Input<boolean>;
|
|
130
|
+
/**
|
|
131
|
+
* A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: `a`-`z` (lower-case letters), `0`-`9`, and `_` (underscore). The name `score` is reserved and cannot be used as a field name.
|
|
132
|
+
*/
|
|
133
|
+
name?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Domain scaling parameters. Documented below.
|
|
136
|
+
*/
|
|
137
|
+
scalingParameters?: pulumi.Input<inputs.cloudsearch.DomainScalingParameters>;
|
|
138
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Domain = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* CloudSearch Domains can be imported using the `name`, e.g.,
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import aws:cloudsearch/domain:Domain example example-domain
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Domain extends pulumi.CustomResource {
|
|
18
|
+
constructor(name, argsOrState, opts) {
|
|
19
|
+
let inputs = {};
|
|
20
|
+
opts = opts || {};
|
|
21
|
+
if (opts.id) {
|
|
22
|
+
const state = argsOrState;
|
|
23
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
24
|
+
inputs["documentServiceEndpoint"] = state ? state.documentServiceEndpoint : undefined;
|
|
25
|
+
inputs["domainId"] = state ? state.domainId : undefined;
|
|
26
|
+
inputs["endpointOptions"] = state ? state.endpointOptions : undefined;
|
|
27
|
+
inputs["indexFields"] = state ? state.indexFields : undefined;
|
|
28
|
+
inputs["multiAz"] = state ? state.multiAz : undefined;
|
|
29
|
+
inputs["name"] = state ? state.name : undefined;
|
|
30
|
+
inputs["scalingParameters"] = state ? state.scalingParameters : undefined;
|
|
31
|
+
inputs["searchServiceEndpoint"] = state ? state.searchServiceEndpoint : undefined;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
const args = argsOrState;
|
|
35
|
+
inputs["endpointOptions"] = args ? args.endpointOptions : undefined;
|
|
36
|
+
inputs["indexFields"] = args ? args.indexFields : undefined;
|
|
37
|
+
inputs["multiAz"] = args ? args.multiAz : undefined;
|
|
38
|
+
inputs["name"] = args ? args.name : undefined;
|
|
39
|
+
inputs["scalingParameters"] = args ? args.scalingParameters : undefined;
|
|
40
|
+
inputs["arn"] = undefined /*out*/;
|
|
41
|
+
inputs["documentServiceEndpoint"] = undefined /*out*/;
|
|
42
|
+
inputs["domainId"] = undefined /*out*/;
|
|
43
|
+
inputs["searchServiceEndpoint"] = undefined /*out*/;
|
|
44
|
+
}
|
|
45
|
+
if (!opts.version) {
|
|
46
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
47
|
+
}
|
|
48
|
+
super(Domain.__pulumiType, name, inputs, opts);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing Domain 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 Domain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of Domain. 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'] === Domain.__pulumiType;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.Domain = Domain;
|
|
74
|
+
/** @internal */
|
|
75
|
+
Domain.__pulumiType = 'aws:cloudsearch/domain:Domain';
|
|
76
|
+
//# sourceMappingURL=domain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../cloudsearch/domain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAyE7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAA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IACvD,CAAC;;AA1BL,wBAwGC;AA1FG,gBAAgB;AACO,mBAAY,GAAG,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* CloudSearch domain service access policies can be imported using the domain name, e.g.,
|
|
6
|
+
*
|
|
7
|
+
* ```sh
|
|
8
|
+
* $ pulumi import aws:cloudsearch/domainServiceAccessPolicy:DomainServiceAccessPolicy example example-domain
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare class DomainServiceAccessPolicy extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing DomainServiceAccessPolicy resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainServiceAccessPolicyState, opts?: pulumi.CustomResourceOptions): DomainServiceAccessPolicy;
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given object is an instance of DomainServiceAccessPolicy. This is designed to work even
|
|
24
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
+
*/
|
|
26
|
+
static isInstance(obj: any): obj is DomainServiceAccessPolicy;
|
|
27
|
+
/**
|
|
28
|
+
* The access rules you want to configure. These rules replace any existing rules. See the [AWS documentation](https://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html) for details.
|
|
29
|
+
*/
|
|
30
|
+
readonly accessPolicy: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The CloudSearch domain name the policy applies to.
|
|
33
|
+
*/
|
|
34
|
+
readonly domainName: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Create a DomainServiceAccessPolicy resource with the given unique name, arguments, and options.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resource.
|
|
39
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
40
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
41
|
+
*/
|
|
42
|
+
constructor(name: string, args: DomainServiceAccessPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Input properties used for looking up and filtering DomainServiceAccessPolicy resources.
|
|
46
|
+
*/
|
|
47
|
+
export interface DomainServiceAccessPolicyState {
|
|
48
|
+
/**
|
|
49
|
+
* The access rules you want to configure. These rules replace any existing rules. See the [AWS documentation](https://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html) for details.
|
|
50
|
+
*/
|
|
51
|
+
accessPolicy?: pulumi.Input<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The CloudSearch domain name the policy applies to.
|
|
54
|
+
*/
|
|
55
|
+
domainName?: pulumi.Input<string>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The set of arguments for constructing a DomainServiceAccessPolicy resource.
|
|
59
|
+
*/
|
|
60
|
+
export interface DomainServiceAccessPolicyArgs {
|
|
61
|
+
/**
|
|
62
|
+
* The access rules you want to configure. These rules replace any existing rules. See the [AWS documentation](https://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html) for details.
|
|
63
|
+
*/
|
|
64
|
+
accessPolicy: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The CloudSearch domain name the policy applies to.
|
|
67
|
+
*/
|
|
68
|
+
domainName: pulumi.Input<string>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DomainServiceAccessPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* CloudSearch domain service access policies can be imported using the domain name, e.g.,
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import aws:cloudsearch/domainServiceAccessPolicy:DomainServiceAccessPolicy example example-domain
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class DomainServiceAccessPolicy extends pulumi.CustomResource {
|
|
18
|
+
constructor(name, argsOrState, opts) {
|
|
19
|
+
let inputs = {};
|
|
20
|
+
opts = opts || {};
|
|
21
|
+
if (opts.id) {
|
|
22
|
+
const state = argsOrState;
|
|
23
|
+
inputs["accessPolicy"] = state ? state.accessPolicy : undefined;
|
|
24
|
+
inputs["domainName"] = state ? state.domainName : undefined;
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
const args = argsOrState;
|
|
28
|
+
if ((!args || args.accessPolicy === undefined) && !opts.urn) {
|
|
29
|
+
throw new Error("Missing required property 'accessPolicy'");
|
|
30
|
+
}
|
|
31
|
+
if ((!args || args.domainName === undefined) && !opts.urn) {
|
|
32
|
+
throw new Error("Missing required property 'domainName'");
|
|
33
|
+
}
|
|
34
|
+
inputs["accessPolicy"] = args ? args.accessPolicy : undefined;
|
|
35
|
+
inputs["domainName"] = args ? args.domainName : undefined;
|
|
36
|
+
}
|
|
37
|
+
if (!opts.version) {
|
|
38
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
39
|
+
}
|
|
40
|
+
super(DomainServiceAccessPolicy.__pulumiType, name, inputs, opts);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing DomainServiceAccessPolicy resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new DomainServiceAccessPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of DomainServiceAccessPolicy. 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) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === DomainServiceAccessPolicy.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.DomainServiceAccessPolicy = DomainServiceAccessPolicy;
|
|
66
|
+
/** @internal */
|
|
67
|
+
DomainServiceAccessPolicy.__pulumiType = 'aws:cloudsearch/domainServiceAccessPolicy:DomainServiceAccessPolicy';
|
|
68
|
+
//# sourceMappingURL=domainServiceAccessPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domainServiceAccessPolicy.js","sourceRoot":"","sources":["../../cloudsearch/domainServiceAccessPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IA6ChE,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,I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,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;;AA1BL,8DAoEC;AAtDG,gBAAgB;AACO,sCAAY,GAAG,qEAAqE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const pulumi = require("@pulumi/pulumi");
|
|
16
|
+
const utilities = require("../utilities");
|
|
17
|
+
// Export members:
|
|
18
|
+
__exportStar(require("./domain"), exports);
|
|
19
|
+
__exportStar(require("./domainServiceAccessPolicy"), exports);
|
|
20
|
+
// Import resources to register:
|
|
21
|
+
const domain_1 = require("./domain");
|
|
22
|
+
const domainServiceAccessPolicy_1 = require("./domainServiceAccessPolicy");
|
|
23
|
+
const _module = {
|
|
24
|
+
version: utilities.getVersion(),
|
|
25
|
+
construct: (name, type, urn) => {
|
|
26
|
+
switch (type) {
|
|
27
|
+
case "aws:cloudsearch/domain:Domain":
|
|
28
|
+
return new domain_1.Domain(name, undefined, { urn });
|
|
29
|
+
case "aws:cloudsearch/domainServiceAccessPolicy:DomainServiceAccessPolicy":
|
|
30
|
+
return new domainServiceAccessPolicy_1.DomainServiceAccessPolicy(name, undefined, { urn });
|
|
31
|
+
default:
|
|
32
|
+
throw new Error(`unknown resource type ${type}`);
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
pulumi.runtime.registerResourceModule("aws", "cloudsearch/domain", _module);
|
|
37
|
+
pulumi.runtime.registerResourceModule("aws", "cloudsearch/domainServiceAccessPolicy", _module);
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudsearch/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2CAAyB;AACzB,8DAA4C;AAE5C,gCAAgC;AAChC,qCAAkC;AAClC,2EAAwE;AAExE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+BAA+B;gBAChC,OAAO,IAAI,eAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,qEAAqE;gBACtE,OAAO,IAAI,qDAAyB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uCAAuC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -175,9 +175,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
175
175
|
* import * as pulumi from "@pulumi/pulumi";
|
|
176
176
|
* import * as aws from "@pulumi/aws";
|
|
177
177
|
*
|
|
178
|
-
* const eventBusInvokeRemoteEventBusRole = aws.iam.
|
|
179
|
-
* name: "event-bus-invoke-remote-event-bus",
|
|
180
|
-
* assumeRolePolicy: `{
|
|
178
|
+
* const eventBusInvokeRemoteEventBusRole = new aws.iam.Role("eventBusInvokeRemoteEventBusRole", {assumeRolePolicy: `{
|
|
181
179
|
* "Version": "2012-10-17",
|
|
182
180
|
* "Statement": [
|
|
183
181
|
* {
|
|
@@ -189,8 +187,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
189
187
|
* }
|
|
190
188
|
* ]
|
|
191
189
|
* }
|
|
192
|
-
*
|
|
193
|
-
* });
|
|
190
|
+
* `});
|
|
194
191
|
* const eventBusInvokeRemoteEventBusPolicyDocument = aws.iam.getPolicyDocument({
|
|
195
192
|
* statements: [{
|
|
196
193
|
* effect: "Allow",
|
|
@@ -200,7 +197,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
200
197
|
* });
|
|
201
198
|
* const eventBusInvokeRemoteEventBusPolicy = new aws.iam.Policy("eventBusInvokeRemoteEventBusPolicy", {policy: eventBusInvokeRemoteEventBusPolicyDocument.then(eventBusInvokeRemoteEventBusPolicyDocument => eventBusInvokeRemoteEventBusPolicyDocument.json)});
|
|
202
199
|
* const eventBusInvokeRemoteEventBusRolePolicyAttachment = new aws.iam.RolePolicyAttachment("eventBusInvokeRemoteEventBusRolePolicyAttachment", {
|
|
203
|
-
* role:
|
|
200
|
+
* role: eventBusInvokeRemoteEventBusRole.name,
|
|
204
201
|
* policyArn: eventBusInvokeRemoteEventBusPolicy.arn,
|
|
205
202
|
* });
|
|
206
203
|
* const stopInstancesEventRule = new aws.cloudwatch.EventRule("stopInstancesEventRule", {
|
|
@@ -210,7 +207,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
210
207
|
* const stopInstancesEventTarget = new aws.cloudwatch.EventTarget("stopInstancesEventTarget", {
|
|
211
208
|
* arn: "arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus",
|
|
212
209
|
* rule: stopInstancesEventRule.name,
|
|
213
|
-
* roleArn:
|
|
210
|
+
* roleArn: eventBusInvokeRemoteEventBusRole.arn,
|
|
214
211
|
* });
|
|
215
212
|
* ```
|
|
216
213
|
*
|
|
@@ -180,9 +180,7 @@ const utilities = require("../utilities");
|
|
|
180
180
|
* import * as pulumi from "@pulumi/pulumi";
|
|
181
181
|
* import * as aws from "@pulumi/aws";
|
|
182
182
|
*
|
|
183
|
-
* const eventBusInvokeRemoteEventBusRole = aws.iam.
|
|
184
|
-
* name: "event-bus-invoke-remote-event-bus",
|
|
185
|
-
* assumeRolePolicy: `{
|
|
183
|
+
* const eventBusInvokeRemoteEventBusRole = new aws.iam.Role("eventBusInvokeRemoteEventBusRole", {assumeRolePolicy: `{
|
|
186
184
|
* "Version": "2012-10-17",
|
|
187
185
|
* "Statement": [
|
|
188
186
|
* {
|
|
@@ -194,8 +192,7 @@ const utilities = require("../utilities");
|
|
|
194
192
|
* }
|
|
195
193
|
* ]
|
|
196
194
|
* }
|
|
197
|
-
*
|
|
198
|
-
* });
|
|
195
|
+
* `});
|
|
199
196
|
* const eventBusInvokeRemoteEventBusPolicyDocument = aws.iam.getPolicyDocument({
|
|
200
197
|
* statements: [{
|
|
201
198
|
* effect: "Allow",
|
|
@@ -205,7 +202,7 @@ const utilities = require("../utilities");
|
|
|
205
202
|
* });
|
|
206
203
|
* const eventBusInvokeRemoteEventBusPolicy = new aws.iam.Policy("eventBusInvokeRemoteEventBusPolicy", {policy: eventBusInvokeRemoteEventBusPolicyDocument.then(eventBusInvokeRemoteEventBusPolicyDocument => eventBusInvokeRemoteEventBusPolicyDocument.json)});
|
|
207
204
|
* const eventBusInvokeRemoteEventBusRolePolicyAttachment = new aws.iam.RolePolicyAttachment("eventBusInvokeRemoteEventBusRolePolicyAttachment", {
|
|
208
|
-
* role:
|
|
205
|
+
* role: eventBusInvokeRemoteEventBusRole.name,
|
|
209
206
|
* policyArn: eventBusInvokeRemoteEventBusPolicy.arn,
|
|
210
207
|
* });
|
|
211
208
|
* const stopInstancesEventRule = new aws.cloudwatch.EventRule("stopInstancesEventRule", {
|
|
@@ -215,7 +212,7 @@ const utilities = require("../utilities");
|
|
|
215
212
|
* const stopInstancesEventTarget = new aws.cloudwatch.EventTarget("stopInstancesEventTarget", {
|
|
216
213
|
* arn: "arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus",
|
|
217
214
|
* rule: stopInstancesEventRule.name,
|
|
218
|
-
* roleArn:
|
|
215
|
+
* roleArn: eventBusInvokeRemoteEventBusRole.arn,
|
|
219
216
|
* });
|
|
220
217
|
* ```
|
|
221
218
|
*
|