@pulumi/aws 4.35.0 → 4.37.0-alpha.1643206063

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.
Files changed (119) hide show
  1. package/appsync/apiCache.d.ts +132 -0
  2. package/appsync/apiCache.js +97 -0
  3. package/appsync/apiCache.js.map +1 -0
  4. package/appsync/domainName.d.ts +111 -0
  5. package/appsync/domainName.js +88 -0
  6. package/appsync/domainName.js.map +1 -0
  7. package/appsync/domainNameApiAssociation.d.ts +83 -0
  8. package/appsync/domainNameApiAssociation.js +82 -0
  9. package/appsync/domainNameApiAssociation.js.map +1 -0
  10. package/appsync/index.d.ts +3 -0
  11. package/appsync/index.js +15 -0
  12. package/appsync/index.js.map +1 -1
  13. package/cloudfront/getFunction.d.ts +84 -0
  14. package/cloudfront/getFunction.js +41 -0
  15. package/cloudfront/getFunction.js.map +1 -0
  16. package/cloudfront/getOriginAccessIdentity.d.ts +58 -0
  17. package/cloudfront/getOriginAccessIdentity.js +24 -0
  18. package/cloudfront/getOriginAccessIdentity.js.map +1 -0
  19. package/cloudfront/index.d.ts +2 -0
  20. package/cloudfront/index.js +2 -0
  21. package/cloudfront/index.js.map +1 -1
  22. package/cloudsearch/domain.d.ts +138 -0
  23. package/cloudsearch/domain.js +76 -0
  24. package/cloudsearch/domain.js.map +1 -0
  25. package/cloudsearch/domainServiceAccessPolicy.d.ts +69 -0
  26. package/cloudsearch/domainServiceAccessPolicy.js +68 -0
  27. package/cloudsearch/domainServiceAccessPolicy.js.map +1 -0
  28. package/cloudsearch/index.d.ts +2 -0
  29. package/cloudsearch/index.js +38 -0
  30. package/cloudsearch/index.js.map +1 -0
  31. package/cloudtrail/getFunction.d.ts +2 -1
  32. package/cloudtrail/getFunction.js +3 -1
  33. package/cloudtrail/getFunction.js.map +1 -1
  34. package/cloudwatch/eventTarget.d.ts +4 -7
  35. package/cloudwatch/eventTarget.js +4 -7
  36. package/cloudwatch/eventTarget.js.map +1 -1
  37. package/cognito/getUserPoolClients.d.ts +4 -0
  38. package/cognito/getUserPoolClients.js.map +1 -1
  39. package/detective/graph.d.ts +1 -1
  40. package/detective/graph.js +1 -1
  41. package/detective/index.d.ts +2 -0
  42. package/detective/index.js +10 -0
  43. package/detective/index.js.map +1 -1
  44. package/detective/invitationAccepter.d.ts +78 -0
  45. package/detective/invitationAccepter.js +84 -0
  46. package/detective/invitationAccepter.js.map +1 -0
  47. package/detective/member.d.ts +165 -0
  48. package/detective/member.js +107 -0
  49. package/detective/member.js.map +1 -0
  50. package/ec2/getIpamPreviewNextCidr.d.ts +53 -0
  51. package/ec2/getIpamPreviewNextCidr.js +26 -0
  52. package/ec2/getIpamPreviewNextCidr.js.map +1 -0
  53. package/ec2/index.d.ts +1 -0
  54. package/ec2/index.js +1 -0
  55. package/ec2/index.js.map +1 -1
  56. package/elasticloadbalancing/loadBalancerPolicy.d.ts +1 -1
  57. package/elb/loadBalancerPolicy.d.ts +1 -1
  58. package/fsx/dataRepositoryAssociation.d.ts +219 -0
  59. package/fsx/dataRepositoryAssociation.js +129 -0
  60. package/fsx/dataRepositoryAssociation.js.map +1 -0
  61. package/fsx/index.d.ts +1 -0
  62. package/fsx/index.js +5 -0
  63. package/fsx/index.js.map +1 -1
  64. package/fsx/lustreFileSystem.d.ts +47 -33
  65. package/fsx/lustreFileSystem.js +4 -0
  66. package/fsx/lustreFileSystem.js.map +1 -1
  67. package/glue/schema.d.ts +3 -3
  68. package/imagebuilder/getImageRecipe.d.ts +4 -0
  69. package/imagebuilder/getImageRecipe.js.map +1 -1
  70. package/imagebuilder/imageRecipe.d.ts +15 -3
  71. package/imagebuilder/imageRecipe.js +2 -0
  72. package/imagebuilder/imageRecipe.js.map +1 -1
  73. package/index.d.ts +2 -1
  74. package/index.js +6 -4
  75. package/index.js.map +1 -1
  76. package/lambda/eventSourceMapping.d.ts +3 -3
  77. package/lambda/index.d.ts +1 -0
  78. package/lambda/index.js +5 -0
  79. package/lambda/index.js.map +1 -1
  80. package/lambda/invocation.d.ts +114 -0
  81. package/lambda/invocation.js +90 -0
  82. package/lambda/invocation.js.map +1 -0
  83. package/opsworks/customLayer.d.ts +15 -3
  84. package/opsworks/customLayer.js +2 -0
  85. package/opsworks/customLayer.js.map +1 -1
  86. package/opsworks/gangliaLayer.d.ts +3 -0
  87. package/opsworks/gangliaLayer.js +2 -0
  88. package/opsworks/gangliaLayer.js.map +1 -1
  89. package/opsworks/haproxyLayer.d.ts +3 -0
  90. package/opsworks/haproxyLayer.js +2 -0
  91. package/opsworks/haproxyLayer.js.map +1 -1
  92. package/opsworks/javaAppLayer.d.ts +3 -0
  93. package/opsworks/javaAppLayer.js +2 -0
  94. package/opsworks/javaAppLayer.js.map +1 -1
  95. package/opsworks/memcachedLayer.d.ts +3 -0
  96. package/opsworks/memcachedLayer.js +2 -0
  97. package/opsworks/memcachedLayer.js.map +1 -1
  98. package/opsworks/mysqlLayer.d.ts +3 -0
  99. package/opsworks/mysqlLayer.js +2 -0
  100. package/opsworks/mysqlLayer.js.map +1 -1
  101. package/opsworks/nodejsAppLayer.d.ts +3 -0
  102. package/opsworks/nodejsAppLayer.js +2 -0
  103. package/opsworks/nodejsAppLayer.js.map +1 -1
  104. package/opsworks/phpAppLayer.d.ts +3 -0
  105. package/opsworks/phpAppLayer.js +2 -0
  106. package/opsworks/phpAppLayer.js.map +1 -1
  107. package/opsworks/railsAppLayer.d.ts +3 -0
  108. package/opsworks/railsAppLayer.js +2 -0
  109. package/opsworks/railsAppLayer.js.map +1 -1
  110. package/opsworks/staticWebLayer.d.ts +3 -0
  111. package/opsworks/staticWebLayer.js +2 -0
  112. package/opsworks/staticWebLayer.js.map +1 -1
  113. package/package.json +2 -2
  114. package/package.json.dev +1 -1
  115. package/types/enums/iam/index.d.ts +4 -0
  116. package/types/enums/iam/index.js +4 -0
  117. package/types/enums/iam/index.js.map +1 -1
  118. package/types/input.d.ts +295 -0
  119. package/types/output.d.ts +295 -0
@@ -0,0 +1,132 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides an AppSync API Cache.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const exampleGraphQLApi = new aws.appsync.GraphQLApi("exampleGraphQLApi", {authenticationType: "API_KEY"});
12
+ * const exampleApiCache = new aws.appsync.ApiCache("exampleApiCache", {
13
+ * apiId: exampleGraphQLApi.id,
14
+ * expires: "2018-05-03T04:00:00Z",
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * `aws_appsync_api_cache` can be imported using the AppSync API ID, e.g.,
21
+ *
22
+ * ```sh
23
+ * $ pulumi import aws:appsync/apiCache:ApiCache example xxxxx
24
+ * ```
25
+ */
26
+ export declare class ApiCache extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing ApiCache resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApiCacheState, opts?: pulumi.CustomResourceOptions): ApiCache;
37
+ /**
38
+ * Returns true if the given object is an instance of ApiCache. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is ApiCache;
42
+ /**
43
+ * Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.
44
+ */
45
+ readonly apiCachingBehavior: pulumi.Output<string>;
46
+ /**
47
+ * The GraphQL API ID.
48
+ */
49
+ readonly apiId: pulumi.Output<string>;
50
+ /**
51
+ * At-rest encryption flag for cache. You cannot update this setting after creation.
52
+ */
53
+ readonly atRestEncryptionEnabled: pulumi.Output<boolean | undefined>;
54
+ /**
55
+ * Transit encryption flag when connecting to cache. You cannot update this setting after creation.
56
+ */
57
+ readonly transitEncryptionEnabled: pulumi.Output<boolean | undefined>;
58
+ /**
59
+ * TTL in seconds for cache entries.
60
+ */
61
+ readonly ttl: pulumi.Output<number>;
62
+ /**
63
+ * The cache instance type. Valid values are `SMALL`, `MEDIUM`, `LARGE`, `XLARGE`, `LARGE_2X`, `LARGE_4X`, `LARGE_8X`, `LARGE_12X`, `T2_SMALL`, `T2_MEDIUM`, `R4_LARGE`, `R4_XLARGE`, `R4_2XLARGE`, `R4_4XLARGE`, `R4_8XLARGE`.
64
+ */
65
+ readonly type: pulumi.Output<string>;
66
+ /**
67
+ * Create a ApiCache resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: ApiCacheArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering ApiCache resources.
77
+ */
78
+ export interface ApiCacheState {
79
+ /**
80
+ * Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.
81
+ */
82
+ apiCachingBehavior?: pulumi.Input<string>;
83
+ /**
84
+ * The GraphQL API ID.
85
+ */
86
+ apiId?: pulumi.Input<string>;
87
+ /**
88
+ * At-rest encryption flag for cache. You cannot update this setting after creation.
89
+ */
90
+ atRestEncryptionEnabled?: pulumi.Input<boolean>;
91
+ /**
92
+ * Transit encryption flag when connecting to cache. You cannot update this setting after creation.
93
+ */
94
+ transitEncryptionEnabled?: pulumi.Input<boolean>;
95
+ /**
96
+ * TTL in seconds for cache entries.
97
+ */
98
+ ttl?: pulumi.Input<number>;
99
+ /**
100
+ * The cache instance type. Valid values are `SMALL`, `MEDIUM`, `LARGE`, `XLARGE`, `LARGE_2X`, `LARGE_4X`, `LARGE_8X`, `LARGE_12X`, `T2_SMALL`, `T2_MEDIUM`, `R4_LARGE`, `R4_XLARGE`, `R4_2XLARGE`, `R4_4XLARGE`, `R4_8XLARGE`.
101
+ */
102
+ type?: pulumi.Input<string>;
103
+ }
104
+ /**
105
+ * The set of arguments for constructing a ApiCache resource.
106
+ */
107
+ export interface ApiCacheArgs {
108
+ /**
109
+ * Caching behavior. Valid values are `FULL_REQUEST_CACHING` and `PER_RESOLVER_CACHING`.
110
+ */
111
+ apiCachingBehavior: pulumi.Input<string>;
112
+ /**
113
+ * The GraphQL API ID.
114
+ */
115
+ apiId: pulumi.Input<string>;
116
+ /**
117
+ * At-rest encryption flag for cache. You cannot update this setting after creation.
118
+ */
119
+ atRestEncryptionEnabled?: pulumi.Input<boolean>;
120
+ /**
121
+ * Transit encryption flag when connecting to cache. You cannot update this setting after creation.
122
+ */
123
+ transitEncryptionEnabled?: pulumi.Input<boolean>;
124
+ /**
125
+ * TTL in seconds for cache entries.
126
+ */
127
+ ttl: pulumi.Input<number>;
128
+ /**
129
+ * The cache instance type. Valid values are `SMALL`, `MEDIUM`, `LARGE`, `XLARGE`, `LARGE_2X`, `LARGE_4X`, `LARGE_8X`, `LARGE_12X`, `T2_SMALL`, `T2_MEDIUM`, `R4_LARGE`, `R4_XLARGE`, `R4_2XLARGE`, `R4_4XLARGE`, `R4_8XLARGE`.
130
+ */
131
+ type: pulumi.Input<string>;
132
+ }
@@ -0,0 +1,97 @@
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.ApiCache = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides an AppSync API Cache.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const exampleGraphQLApi = new aws.appsync.GraphQLApi("exampleGraphQLApi", {authenticationType: "API_KEY"});
18
+ * const exampleApiCache = new aws.appsync.ApiCache("exampleApiCache", {
19
+ * apiId: exampleGraphQLApi.id,
20
+ * expires: "2018-05-03T04:00:00Z",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * `aws_appsync_api_cache` can be imported using the AppSync API ID, e.g.,
27
+ *
28
+ * ```sh
29
+ * $ pulumi import aws:appsync/apiCache:ApiCache example xxxxx
30
+ * ```
31
+ */
32
+ class ApiCache extends pulumi.CustomResource {
33
+ constructor(name, argsOrState, opts) {
34
+ let inputs = {};
35
+ opts = opts || {};
36
+ if (opts.id) {
37
+ const state = argsOrState;
38
+ inputs["apiCachingBehavior"] = state ? state.apiCachingBehavior : undefined;
39
+ inputs["apiId"] = state ? state.apiId : undefined;
40
+ inputs["atRestEncryptionEnabled"] = state ? state.atRestEncryptionEnabled : undefined;
41
+ inputs["transitEncryptionEnabled"] = state ? state.transitEncryptionEnabled : undefined;
42
+ inputs["ttl"] = state ? state.ttl : undefined;
43
+ inputs["type"] = state ? state.type : undefined;
44
+ }
45
+ else {
46
+ const args = argsOrState;
47
+ if ((!args || args.apiCachingBehavior === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'apiCachingBehavior'");
49
+ }
50
+ if ((!args || args.apiId === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'apiId'");
52
+ }
53
+ if ((!args || args.ttl === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'ttl'");
55
+ }
56
+ if ((!args || args.type === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'type'");
58
+ }
59
+ inputs["apiCachingBehavior"] = args ? args.apiCachingBehavior : undefined;
60
+ inputs["apiId"] = args ? args.apiId : undefined;
61
+ inputs["atRestEncryptionEnabled"] = args ? args.atRestEncryptionEnabled : undefined;
62
+ inputs["transitEncryptionEnabled"] = args ? args.transitEncryptionEnabled : undefined;
63
+ inputs["ttl"] = args ? args.ttl : undefined;
64
+ inputs["type"] = args ? args.type : undefined;
65
+ }
66
+ if (!opts.version) {
67
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
68
+ }
69
+ super(ApiCache.__pulumiType, name, inputs, opts);
70
+ }
71
+ /**
72
+ * Get an existing ApiCache resource's state with the given name, ID, and optional extra
73
+ * properties used to qualify the lookup.
74
+ *
75
+ * @param name The _unique_ name of the resulting resource.
76
+ * @param id The _unique_ provider ID of the resource to lookup.
77
+ * @param state Any extra arguments used during the lookup.
78
+ * @param opts Optional settings to control the behavior of the CustomResource.
79
+ */
80
+ static get(name, id, state, opts) {
81
+ return new ApiCache(name, state, Object.assign(Object.assign({}, opts), { id: id }));
82
+ }
83
+ /**
84
+ * Returns true if the given object is an instance of ApiCache. This is designed to work even
85
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
86
+ */
87
+ static isInstance(obj) {
88
+ if (obj === undefined || obj === null) {
89
+ return false;
90
+ }
91
+ return obj['__pulumiType'] === ApiCache.__pulumiType;
92
+ }
93
+ }
94
+ exports.ApiCache = ApiCache;
95
+ /** @internal */
96
+ ApiCache.__pulumiType = 'aws:appsync/apiCache:ApiCache';
97
+ //# sourceMappingURL=apiCache.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiCache.js","sourceRoot":"","sources":["../../appsync/apiCache.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA6D/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,MAAM,CAAC,oBAAoB,CAAC,GAAG,KAAK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,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAkGC;AApFG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
@@ -0,0 +1,111 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides an AppSync Domain Name.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const example = new aws.appsync.DomainName("example", {
12
+ * domainName: "api.example.com",
13
+ * certificateArn: aws_acm_certificate.example.arn,
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * `aws_appsync_domain_name` can be imported using the AppSync domain name, e.g.,
20
+ *
21
+ * ```sh
22
+ * $ pulumi import aws:appsync/domainName:DomainName example example.com
23
+ * ```
24
+ */
25
+ export declare class DomainName extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing DomainName resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainNameState, opts?: pulumi.CustomResourceOptions): DomainName;
36
+ /**
37
+ * Returns true if the given object is an instance of DomainName. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj: any): obj is DomainName;
41
+ /**
42
+ * The domain name that AppSync provides.
43
+ */
44
+ readonly appsyncDomainName: pulumi.Output<string>;
45
+ /**
46
+ * The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate. The certifiacte must reside in us-east-1.
47
+ */
48
+ readonly certificateArn: pulumi.Output<string>;
49
+ /**
50
+ * A description of the Domain Name.
51
+ */
52
+ readonly description: pulumi.Output<string | undefined>;
53
+ /**
54
+ * The domain name.
55
+ */
56
+ readonly domainName: pulumi.Output<string>;
57
+ /**
58
+ * The ID of your Amazon Route 53 hosted zone.
59
+ */
60
+ readonly hostedZoneId: pulumi.Output<string>;
61
+ /**
62
+ * Create a DomainName resource with the given unique name, arguments, and options.
63
+ *
64
+ * @param name The _unique_ name of the resource.
65
+ * @param args The arguments to use to populate this resource's properties.
66
+ * @param opts A bag of options that control this resource's behavior.
67
+ */
68
+ constructor(name: string, args: DomainNameArgs, opts?: pulumi.CustomResourceOptions);
69
+ }
70
+ /**
71
+ * Input properties used for looking up and filtering DomainName resources.
72
+ */
73
+ export interface DomainNameState {
74
+ /**
75
+ * The domain name that AppSync provides.
76
+ */
77
+ appsyncDomainName?: pulumi.Input<string>;
78
+ /**
79
+ * The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate. The certifiacte must reside in us-east-1.
80
+ */
81
+ certificateArn?: pulumi.Input<string>;
82
+ /**
83
+ * A description of the Domain Name.
84
+ */
85
+ description?: pulumi.Input<string>;
86
+ /**
87
+ * The domain name.
88
+ */
89
+ domainName?: pulumi.Input<string>;
90
+ /**
91
+ * The ID of your Amazon Route 53 hosted zone.
92
+ */
93
+ hostedZoneId?: pulumi.Input<string>;
94
+ }
95
+ /**
96
+ * The set of arguments for constructing a DomainName resource.
97
+ */
98
+ export interface DomainNameArgs {
99
+ /**
100
+ * The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate. The certifiacte must reside in us-east-1.
101
+ */
102
+ certificateArn: pulumi.Input<string>;
103
+ /**
104
+ * A description of the Domain Name.
105
+ */
106
+ description?: pulumi.Input<string>;
107
+ /**
108
+ * The domain name.
109
+ */
110
+ domainName: pulumi.Input<string>;
111
+ }
@@ -0,0 +1,88 @@
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.DomainName = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides an AppSync Domain Name.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.appsync.DomainName("example", {
18
+ * domainName: "api.example.com",
19
+ * certificateArn: aws_acm_certificate.example.arn,
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * `aws_appsync_domain_name` can be imported using the AppSync domain name, e.g.,
26
+ *
27
+ * ```sh
28
+ * $ pulumi import aws:appsync/domainName:DomainName example example.com
29
+ * ```
30
+ */
31
+ class DomainName extends pulumi.CustomResource {
32
+ constructor(name, argsOrState, opts) {
33
+ let inputs = {};
34
+ opts = opts || {};
35
+ if (opts.id) {
36
+ const state = argsOrState;
37
+ inputs["appsyncDomainName"] = state ? state.appsyncDomainName : undefined;
38
+ inputs["certificateArn"] = state ? state.certificateArn : undefined;
39
+ inputs["description"] = state ? state.description : undefined;
40
+ inputs["domainName"] = state ? state.domainName : undefined;
41
+ inputs["hostedZoneId"] = state ? state.hostedZoneId : undefined;
42
+ }
43
+ else {
44
+ const args = argsOrState;
45
+ if ((!args || args.certificateArn === undefined) && !opts.urn) {
46
+ throw new Error("Missing required property 'certificateArn'");
47
+ }
48
+ if ((!args || args.domainName === undefined) && !opts.urn) {
49
+ throw new Error("Missing required property 'domainName'");
50
+ }
51
+ inputs["certificateArn"] = args ? args.certificateArn : undefined;
52
+ inputs["description"] = args ? args.description : undefined;
53
+ inputs["domainName"] = args ? args.domainName : undefined;
54
+ inputs["appsyncDomainName"] = undefined /*out*/;
55
+ inputs["hostedZoneId"] = undefined /*out*/;
56
+ }
57
+ if (!opts.version) {
58
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
59
+ }
60
+ super(DomainName.__pulumiType, name, inputs, opts);
61
+ }
62
+ /**
63
+ * Get an existing DomainName resource's state with the given name, ID, and optional extra
64
+ * properties used to qualify the lookup.
65
+ *
66
+ * @param name The _unique_ name of the resulting resource.
67
+ * @param id The _unique_ provider ID of the resource to lookup.
68
+ * @param state Any extra arguments used during the lookup.
69
+ * @param opts Optional settings to control the behavior of the CustomResource.
70
+ */
71
+ static get(name, id, state, opts) {
72
+ return new DomainName(name, state, Object.assign(Object.assign({}, opts), { id: id }));
73
+ }
74
+ /**
75
+ * Returns true if the given object is an instance of DomainName. This is designed to work even
76
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
77
+ */
78
+ static isInstance(obj) {
79
+ if (obj === undefined || obj === null) {
80
+ return false;
81
+ }
82
+ return obj['__pulumiType'] === DomainName.__pulumiType;
83
+ }
84
+ }
85
+ exports.DomainName = DomainName;
86
+ /** @internal */
87
+ DomainName.__pulumiType = 'aws:appsync/domainName:DomainName';
88
+ //# sourceMappingURL=domainName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainName.js","sourceRoot":"","sources":["../../appsync/domainName.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAyDjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,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AAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,MAAM,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;IApFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAsFC;AAxEG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
@@ -0,0 +1,83 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides an AppSync API Association.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const example = new aws.appsync.DomainNameApiAssociation("example", {
12
+ * apiId: aws_appsync_graphql_api.example.id,
13
+ * domainName: aws_appsync_domain_name.example.domain_name,
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * `aws_appsync_domain_name_api_association` can be imported using the AppSync domain name, e.g.,
20
+ *
21
+ * ```sh
22
+ * $ pulumi import aws:appsync/domainNameApiAssociation:DomainNameApiAssociation example example.com
23
+ * ```
24
+ */
25
+ export declare class DomainNameApiAssociation extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing DomainNameApiAssociation resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainNameApiAssociationState, opts?: pulumi.CustomResourceOptions): DomainNameApiAssociation;
36
+ /**
37
+ * Returns true if the given object is an instance of DomainNameApiAssociation. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj: any): obj is DomainNameApiAssociation;
41
+ /**
42
+ * The API ID.
43
+ */
44
+ readonly apiId: pulumi.Output<string>;
45
+ /**
46
+ * The Appsync domain name.
47
+ */
48
+ readonly domainName: pulumi.Output<string>;
49
+ /**
50
+ * Create a DomainNameApiAssociation resource with the given unique name, arguments, and options.
51
+ *
52
+ * @param name The _unique_ name of the resource.
53
+ * @param args The arguments to use to populate this resource's properties.
54
+ * @param opts A bag of options that control this resource's behavior.
55
+ */
56
+ constructor(name: string, args: DomainNameApiAssociationArgs, opts?: pulumi.CustomResourceOptions);
57
+ }
58
+ /**
59
+ * Input properties used for looking up and filtering DomainNameApiAssociation resources.
60
+ */
61
+ export interface DomainNameApiAssociationState {
62
+ /**
63
+ * The API ID.
64
+ */
65
+ apiId?: pulumi.Input<string>;
66
+ /**
67
+ * The Appsync domain name.
68
+ */
69
+ domainName?: pulumi.Input<string>;
70
+ }
71
+ /**
72
+ * The set of arguments for constructing a DomainNameApiAssociation resource.
73
+ */
74
+ export interface DomainNameApiAssociationArgs {
75
+ /**
76
+ * The API ID.
77
+ */
78
+ apiId: pulumi.Input<string>;
79
+ /**
80
+ * The Appsync domain name.
81
+ */
82
+ domainName: pulumi.Input<string>;
83
+ }
@@ -0,0 +1,82 @@
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.DomainNameApiAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides an AppSync API Association.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.appsync.DomainNameApiAssociation("example", {
18
+ * apiId: aws_appsync_graphql_api.example.id,
19
+ * domainName: aws_appsync_domain_name.example.domain_name,
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * `aws_appsync_domain_name_api_association` can be imported using the AppSync domain name, e.g.,
26
+ *
27
+ * ```sh
28
+ * $ pulumi import aws:appsync/domainNameApiAssociation:DomainNameApiAssociation example example.com
29
+ * ```
30
+ */
31
+ class DomainNameApiAssociation extends pulumi.CustomResource {
32
+ constructor(name, argsOrState, opts) {
33
+ let inputs = {};
34
+ opts = opts || {};
35
+ if (opts.id) {
36
+ const state = argsOrState;
37
+ inputs["apiId"] = state ? state.apiId : undefined;
38
+ inputs["domainName"] = state ? state.domainName : undefined;
39
+ }
40
+ else {
41
+ const args = argsOrState;
42
+ if ((!args || args.apiId === undefined) && !opts.urn) {
43
+ throw new Error("Missing required property 'apiId'");
44
+ }
45
+ if ((!args || args.domainName === undefined) && !opts.urn) {
46
+ throw new Error("Missing required property 'domainName'");
47
+ }
48
+ inputs["apiId"] = args ? args.apiId : undefined;
49
+ inputs["domainName"] = args ? args.domainName : undefined;
50
+ }
51
+ if (!opts.version) {
52
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
53
+ }
54
+ super(DomainNameApiAssociation.__pulumiType, name, inputs, opts);
55
+ }
56
+ /**
57
+ * Get an existing DomainNameApiAssociation resource's state with the given name, ID, and optional extra
58
+ * properties used to qualify the lookup.
59
+ *
60
+ * @param name The _unique_ name of the resulting resource.
61
+ * @param id The _unique_ provider ID of the resource to lookup.
62
+ * @param state Any extra arguments used during the lookup.
63
+ * @param opts Optional settings to control the behavior of the CustomResource.
64
+ */
65
+ static get(name, id, state, opts) {
66
+ return new DomainNameApiAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
67
+ }
68
+ /**
69
+ * Returns true if the given object is an instance of DomainNameApiAssociation. This is designed to work even
70
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
71
+ */
72
+ static isInstance(obj) {
73
+ if (obj === undefined || obj === null) {
74
+ return false;
75
+ }
76
+ return obj['__pulumiType'] === DomainNameApiAssociation.__pulumiType;
77
+ }
78
+ }
79
+ exports.DomainNameApiAssociation = DomainNameApiAssociation;
80
+ /** @internal */
81
+ DomainNameApiAssociation.__pulumiType = 'aws:appsync/domainNameApiAssociation:DomainNameApiAssociation';
82
+ //# sourceMappingURL=domainNameApiAssociation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainNameApiAssociation.js","sourceRoot":"","sources":["../../appsync/domainNameApiAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IA6C/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IA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B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAoEC;AAtDG,gBAAgB;AACO,qCAAY,GAAG,+DAA+D,CAAC"}
@@ -1,5 +1,8 @@
1
+ export * from "./apiCache";
1
2
  export * from "./apiKey";
2
3
  export * from "./dataSource";
4
+ export * from "./domainName";
5
+ export * from "./domainNameApiAssociation";
3
6
  export * from "./function";
4
7
  export * from "./graphQLApi";
5
8
  export * from "./resolver";
package/appsync/index.js CHANGED
@@ -15,14 +15,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const pulumi = require("@pulumi/pulumi");
16
16
  const utilities = require("../utilities");
17
17
  // Export members:
18
+ __exportStar(require("./apiCache"), exports);
18
19
  __exportStar(require("./apiKey"), exports);
19
20
  __exportStar(require("./dataSource"), exports);
21
+ __exportStar(require("./domainName"), exports);
22
+ __exportStar(require("./domainNameApiAssociation"), exports);
20
23
  __exportStar(require("./function"), exports);
21
24
  __exportStar(require("./graphQLApi"), exports);
22
25
  __exportStar(require("./resolver"), exports);
23
26
  // Import resources to register:
27
+ const apiCache_1 = require("./apiCache");
24
28
  const apiKey_1 = require("./apiKey");
25
29
  const dataSource_1 = require("./dataSource");
30
+ const domainName_1 = require("./domainName");
31
+ const domainNameApiAssociation_1 = require("./domainNameApiAssociation");
26
32
  const function_1 = require("./function");
27
33
  const graphQLApi_1 = require("./graphQLApi");
28
34
  const resolver_1 = require("./resolver");
@@ -30,10 +36,16 @@ const _module = {
30
36
  version: utilities.getVersion(),
31
37
  construct: (name, type, urn) => {
32
38
  switch (type) {
39
+ case "aws:appsync/apiCache:ApiCache":
40
+ return new apiCache_1.ApiCache(name, undefined, { urn });
33
41
  case "aws:appsync/apiKey:ApiKey":
34
42
  return new apiKey_1.ApiKey(name, undefined, { urn });
35
43
  case "aws:appsync/dataSource:DataSource":
36
44
  return new dataSource_1.DataSource(name, undefined, { urn });
45
+ case "aws:appsync/domainName:DomainName":
46
+ return new domainName_1.DomainName(name, undefined, { urn });
47
+ case "aws:appsync/domainNameApiAssociation:DomainNameApiAssociation":
48
+ return new domainNameApiAssociation_1.DomainNameApiAssociation(name, undefined, { urn });
37
49
  case "aws:appsync/function:Function":
38
50
  return new function_1.Function(name, undefined, { urn });
39
51
  case "aws:appsync/graphQLApi:GraphQLApi":
@@ -45,8 +57,11 @@ const _module = {
45
57
  }
46
58
  },
47
59
  };
60
+ pulumi.runtime.registerResourceModule("aws", "appsync/apiCache", _module);
48
61
  pulumi.runtime.registerResourceModule("aws", "appsync/apiKey", _module);
49
62
  pulumi.runtime.registerResourceModule("aws", "appsync/dataSource", _module);
63
+ pulumi.runtime.registerResourceModule("aws", "appsync/domainName", _module);
64
+ pulumi.runtime.registerResourceModule("aws", "appsync/domainNameApiAssociation", _module);
50
65
  pulumi.runtime.registerResourceModule("aws", "appsync/function", _module);
51
66
  pulumi.runtime.registerResourceModule("aws", "appsync/graphQLApi", _module);
52
67
  pulumi.runtime.registerResourceModule("aws", "appsync/resolver", _module);