@pulumi/aws 4.34.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/account/alternativeContact.d.ts +7 -1
- package/account/alternativeContact.js +7 -1
- package/account/alternativeContact.js.map +1 -1
- package/appsync/apiCache.d.ts +132 -0
- package/appsync/apiCache.js +97 -0
- package/appsync/apiCache.js.map +1 -0
- package/appsync/dataSource.d.ts +15 -3
- package/appsync/dataSource.js +2 -0
- package/appsync/dataSource.js.map +1 -1
- 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/function.d.ts +25 -0
- package/appsync/function.js +4 -0
- package/appsync/function.js.map +1 -1
- package/appsync/index.d.ts +3 -0
- package/appsync/index.js +15 -0
- package/appsync/index.js.map +1 -1
- package/appsync/resolver.d.ts +24 -0
- package/appsync/resolver.js +4 -0
- package/appsync/resolver.js.map +1 -1
- package/backup/selection.d.ts +72 -3
- package/backup/selection.js +49 -0
- package/backup/selection.js.map +1 -1
- package/cloudfront/getDistribution.d.ts +4 -0
- package/cloudfront/getDistribution.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/cloudwatch/logDestinationPolicy.d.ts +12 -0
- package/cloudwatch/logDestinationPolicy.js +2 -0
- package/cloudwatch/logDestinationPolicy.js.map +1 -1
- package/cognito/getUserPoolClient.d.ts +120 -0
- package/cognito/getUserPoolClient.js +30 -0
- package/cognito/getUserPoolClient.js.map +1 -0
- package/cognito/getUserPoolClients.d.ts +4 -0
- package/cognito/getUserPoolClients.js.map +1 -1
- package/cognito/identityPoolProviderPrincipalTag.d.ts +89 -0
- package/cognito/identityPoolProviderPrincipalTag.js +74 -0
- package/cognito/identityPoolProviderPrincipalTag.js.map +1 -0
- package/cognito/index.d.ts +2 -0
- package/cognito/index.js +6 -0
- package/cognito/index.js.map +1 -1
- package/connect/contactFlow.d.ts +0 -2
- package/connect/contactFlow.js +0 -2
- package/connect/contactFlow.js.map +1 -1
- package/connect/contactFlowModule.d.ts +228 -0
- package/connect/contactFlowModule.js +149 -0
- package/connect/contactFlowModule.js.map +1 -0
- package/connect/index.d.ts +2 -0
- package/connect/index.js +10 -0
- package/connect/index.js.map +1 -1
- package/connect/quickConnect.d.ts +170 -0
- package/connect/quickConnect.js +104 -0
- package/connect/quickConnect.js.map +1 -0
- 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/devicefarm/index.d.ts +1 -0
- package/devicefarm/index.js +5 -0
- package/devicefarm/index.js.map +1 -1
- package/devicefarm/instanceProfile.d.ts +162 -0
- package/devicefarm/instanceProfile.js +87 -0
- package/devicefarm/instanceProfile.js.map +1 -0
- package/devicefarm/networkProfile.d.ts +1 -1
- package/devicefarm/networkProfile.js +1 -1
- package/ebs/getSnapshot.d.ts +8 -0
- package/ebs/getSnapshot.js.map +1 -1
- package/ebs/snapshot.d.ts +48 -0
- package/ebs/snapshot.js +8 -0
- package/ebs/snapshot.js.map +1 -1
- package/ebs/snapshotCopy.d.ts +32 -7
- package/ebs/snapshotCopy.js +8 -0
- package/ebs/snapshotCopy.js.map +1 -1
- package/ebs/snapshotImport.d.ts +40 -0
- package/ebs/snapshotImport.js +10 -0
- package/ebs/snapshotImport.js.map +1 -1
- package/ec2/customerGateway.d.ts +12 -0
- package/ec2/customerGateway.js +2 -0
- package/ec2/customerGateway.js.map +1 -1
- package/ec2/defaultVpc.d.ts +3 -0
- package/ec2/defaultVpc.js +2 -0
- package/ec2/defaultVpc.js.map +1 -1
- package/ec2/getCustomerGateway.d.ts +8 -4
- package/ec2/getCustomerGateway.js.map +1 -1
- package/ec2/getIpamPreviewNextCidr.d.ts +53 -0
- package/ec2/getIpamPreviewNextCidr.js +26 -0
- package/ec2/getIpamPreviewNextCidr.js.map +1 -0
- package/ec2/getPrefixList.d.ts +0 -48
- package/ec2/getPrefixList.js +0 -48
- package/ec2/getPrefixList.js.map +1 -1
- package/ec2/getSubnet.d.ts +2 -2
- package/ec2/getVpcIamPool.d.ts +1 -1
- package/ec2/index.d.ts +1 -0
- package/ec2/index.js +1 -0
- package/ec2/index.js.map +1 -1
- package/ec2/launchTemplate.d.ts +1 -0
- package/ec2/launchTemplate.js +1 -0
- package/ec2/launchTemplate.js.map +1 -1
- package/ec2/spotFleetRequest.d.ts +0 -142
- package/ec2/spotFleetRequest.js +0 -142
- package/ec2/spotFleetRequest.js.map +1 -1
- package/ec2/subnet.d.ts +6 -6
- package/ec2/vpc.d.ts +14 -0
- package/ec2/vpc.js +2 -0
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +40 -0
- package/ec2/vpcIpamPoolCidrAllocation.js +30 -0
- package/ec2/vpcIpamPoolCidrAllocation.js.map +1 -1
- package/ec2/vpcIpamPreviewNextCidr.d.ts +13 -0
- package/ec2/vpcIpamPreviewNextCidr.js +3 -0
- package/ec2/vpcIpamPreviewNextCidr.js.map +1 -1
- package/ec2/vpnConnection.d.ts +14 -1
- package/ec2/vpnConnection.js +2 -1
- package/ec2/vpnConnection.js.map +1 -1
- package/ec2clientvpn/endpoint.d.ts +3 -3
- package/ecs/taskDefinition.d.ts +3 -0
- package/ecs/taskDefinition.js +2 -0
- package/ecs/taskDefinition.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/getPrefixList.d.ts +0 -48
- package/getPrefixList.js +0 -48
- package/getPrefixList.js.map +1 -1
- package/glue/crawler.d.ts +3 -0
- package/glue/crawler.js +2 -0
- package/glue/crawler.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/memorydb/index.d.ts +1 -0
- package/memorydb/index.js +5 -0
- package/memorydb/index.js.map +1 -1
- package/memorydb/snapshot.d.ts +167 -0
- package/memorydb/snapshot.js +92 -0
- package/memorydb/snapshot.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/secretsmanager/getSecretVersion.d.ts +1 -1
- package/secretsmanager/getSecretVersion.js +1 -1
- package/secretsmanager/secretPolicy.d.ts +2 -2
- package/secretsmanager/secretPolicy.js +2 -2
- package/shield/index.d.ts +1 -0
- package/shield/index.js +5 -0
- package/shield/index.js.map +1 -1
- package/shield/protectionHealthCheckAssociation.d.ts +108 -0
- package/shield/protectionHealthCheckAssociation.js +107 -0
- package/shield/protectionHealthCheckAssociation.js.map +1 -0
- package/types/input.d.ts +619 -19
- package/types/output.d.ts +648 -5
|
@@ -18,11 +18,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
*
|
|
19
19
|
* ## Import
|
|
20
20
|
*
|
|
21
|
-
* The
|
|
21
|
+
* The Alternate Contact for the current account can be imported using the `alternate_contact_type`, e.g.,
|
|
22
22
|
*
|
|
23
23
|
* ```sh
|
|
24
24
|
* $ pulumi import aws:account/alternativeContact:AlternativeContact operations OPERATIONS
|
|
25
25
|
* ```
|
|
26
|
+
*
|
|
27
|
+
* If you provide an account ID, the Alternate Contact can be imported using the `account_id` and `alternate_contact_type` separated by a forward slash (`/`) e.g.,
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:account/alternativeContact:AlternativeContact operations 1234567890/OPERATIONS
|
|
31
|
+
* ```
|
|
26
32
|
*/
|
|
27
33
|
export declare class AlternativeContact extends pulumi.CustomResource {
|
|
28
34
|
/**
|
|
@@ -24,11 +24,17 @@ const utilities = require("../utilities");
|
|
|
24
24
|
*
|
|
25
25
|
* ## Import
|
|
26
26
|
*
|
|
27
|
-
* The
|
|
27
|
+
* The Alternate Contact for the current account can be imported using the `alternate_contact_type`, e.g.,
|
|
28
28
|
*
|
|
29
29
|
* ```sh
|
|
30
30
|
* $ pulumi import aws:account/alternativeContact:AlternativeContact operations OPERATIONS
|
|
31
31
|
* ```
|
|
32
|
+
*
|
|
33
|
+
* If you provide an account ID, the Alternate Contact can be imported using the `account_id` and `alternate_contact_type` separated by a forward slash (`/`) e.g.,
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import aws:account/alternativeContact:AlternativeContact operations 1234567890/OPERATIONS
|
|
37
|
+
* ```
|
|
32
38
|
*/
|
|
33
39
|
class AlternativeContact extends pulumi.CustomResource {
|
|
34
40
|
constructor(name, argsOrState, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alternativeContact.js","sourceRoot":"","sources":["../../account/alternativeContact.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"alternativeContact.js","sourceRoot":"","sources":["../../account/alternativeContact.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IA6DzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MA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+
* 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;AAC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C,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IAhGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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"}
|
package/appsync/dataSource.d.ts
CHANGED
|
@@ -117,12 +117,16 @@ export declare class DataSource extends pulumi.CustomResource {
|
|
|
117
117
|
* A user-supplied name for the DataSource.
|
|
118
118
|
*/
|
|
119
119
|
readonly name: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* AWS RDS settings. See Relational Database Config
|
|
122
|
+
*/
|
|
123
|
+
readonly relationalDatabaseConfig: pulumi.Output<outputs.appsync.DataSourceRelationalDatabaseConfig | undefined>;
|
|
120
124
|
/**
|
|
121
125
|
* The IAM service role ARN for the data source.
|
|
122
126
|
*/
|
|
123
127
|
readonly serviceRoleArn: pulumi.Output<string | undefined>;
|
|
124
128
|
/**
|
|
125
|
-
* The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`.
|
|
129
|
+
* The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`.
|
|
126
130
|
*/
|
|
127
131
|
readonly type: pulumi.Output<string>;
|
|
128
132
|
/**
|
|
@@ -170,12 +174,16 @@ export interface DataSourceState {
|
|
|
170
174
|
* A user-supplied name for the DataSource.
|
|
171
175
|
*/
|
|
172
176
|
name?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* AWS RDS settings. See Relational Database Config
|
|
179
|
+
*/
|
|
180
|
+
relationalDatabaseConfig?: pulumi.Input<inputs.appsync.DataSourceRelationalDatabaseConfig>;
|
|
173
181
|
/**
|
|
174
182
|
* The IAM service role ARN for the data source.
|
|
175
183
|
*/
|
|
176
184
|
serviceRoleArn?: pulumi.Input<string>;
|
|
177
185
|
/**
|
|
178
|
-
* The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`.
|
|
186
|
+
* The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`.
|
|
179
187
|
*/
|
|
180
188
|
type?: pulumi.Input<string>;
|
|
181
189
|
}
|
|
@@ -211,12 +219,16 @@ export interface DataSourceArgs {
|
|
|
211
219
|
* A user-supplied name for the DataSource.
|
|
212
220
|
*/
|
|
213
221
|
name?: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* AWS RDS settings. See Relational Database Config
|
|
224
|
+
*/
|
|
225
|
+
relationalDatabaseConfig?: pulumi.Input<inputs.appsync.DataSourceRelationalDatabaseConfig>;
|
|
214
226
|
/**
|
|
215
227
|
* The IAM service role ARN for the data source.
|
|
216
228
|
*/
|
|
217
229
|
serviceRoleArn?: pulumi.Input<string>;
|
|
218
230
|
/**
|
|
219
|
-
* The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`.
|
|
231
|
+
* The type of the DataSource. Valid values: `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `HTTP`, `NONE`, `RELATIONAL_DATABASE`.
|
|
220
232
|
*/
|
|
221
233
|
type: pulumi.Input<string>;
|
|
222
234
|
}
|
package/appsync/dataSource.js
CHANGED
|
@@ -88,6 +88,7 @@ class DataSource extends pulumi.CustomResource {
|
|
|
88
88
|
inputs["httpConfig"] = state ? state.httpConfig : undefined;
|
|
89
89
|
inputs["lambdaConfig"] = state ? state.lambdaConfig : undefined;
|
|
90
90
|
inputs["name"] = state ? state.name : undefined;
|
|
91
|
+
inputs["relationalDatabaseConfig"] = state ? state.relationalDatabaseConfig : undefined;
|
|
91
92
|
inputs["serviceRoleArn"] = state ? state.serviceRoleArn : undefined;
|
|
92
93
|
inputs["type"] = state ? state.type : undefined;
|
|
93
94
|
}
|
|
@@ -106,6 +107,7 @@ class DataSource extends pulumi.CustomResource {
|
|
|
106
107
|
inputs["httpConfig"] = args ? args.httpConfig : undefined;
|
|
107
108
|
inputs["lambdaConfig"] = args ? args.lambdaConfig : undefined;
|
|
108
109
|
inputs["name"] = args ? args.name : undefined;
|
|
110
|
+
inputs["relationalDatabaseConfig"] = args ? args.relationalDatabaseConfig : undefined;
|
|
109
111
|
inputs["serviceRoleArn"] = args ? args.serviceRoleArn : undefined;
|
|
110
112
|
inputs["type"] = args ? args.type : undefined;
|
|
111
113
|
inputs["arn"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataSource.js","sourceRoot":"","sources":["../../appsync/dataSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"dataSource.js","sourceRoot":"","s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,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,gCA0HC;AA5GG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,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;;;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