@pulumi/aws 4.4.0-alpha.1620930863 → 4.5.1
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/alb/getListener.d.ts +6 -0
- package/alb/getListener.js +1 -0
- package/alb/getListener.js.map +1 -1
- package/alb/listener.d.ts +36 -0
- package/alb/listener.js +4 -0
- package/alb/listener.js.map +1 -1
- package/alb/listenerRule.d.ts +36 -0
- package/alb/listenerRule.js +4 -0
- package/alb/listenerRule.js.map +1 -1
- package/applicationloadbalancing/getListener.d.ts +6 -0
- package/applicationloadbalancing/getListener.js +1 -0
- package/applicationloadbalancing/getListener.js.map +1 -1
- package/applicationloadbalancing/listener.d.ts +36 -0
- package/applicationloadbalancing/listener.js +4 -0
- package/applicationloadbalancing/listener.js.map +1 -1
- package/applicationloadbalancing/listenerRule.d.ts +36 -0
- package/applicationloadbalancing/listenerRule.js +4 -0
- package/applicationloadbalancing/listenerRule.js.map +1 -1
- package/apprunner/autoScalingConfigurationVersion.d.ts +180 -0
- package/apprunner/autoScalingConfigurationVersion.js +99 -0
- package/apprunner/autoScalingConfigurationVersion.js.map +1 -0
- package/apprunner/connection.d.ts +140 -0
- package/apprunner/connection.js +94 -0
- package/apprunner/connection.js.map +1 -0
- package/apprunner/customDomainAssociation.d.ts +118 -0
- package/apprunner/customDomainAssociation.js +93 -0
- package/apprunner/customDomainAssociation.js.map +1 -0
- package/apprunner/index.d.ts +4 -0
- package/apprunner/index.js +41 -0
- package/apprunner/index.js.map +1 -0
- package/apprunner/service.d.ts +246 -0
- package/apprunner/service.js +147 -0
- package/apprunner/service.js.map +1 -0
- package/cloudfront/function.d.ts +151 -0
- package/cloudfront/function.js +101 -0
- package/cloudfront/function.js.map +1 -0
- package/cloudfront/index.d.ts +1 -0
- package/cloudfront/index.js +5 -0
- package/cloudfront/index.js.map +1 -1
- package/cloudtrail/getFunction.d.ts +57 -0
- package/cloudtrail/getFunction.js +23 -0
- package/cloudtrail/getFunction.js.map +1 -0
- package/cloudtrail/index.d.ts +1 -0
- package/cloudtrail/index.js +1 -0
- package/cloudtrail/index.js.map +1 -1
- package/cloudwatch/eventTarget.d.ts +44 -3
- package/cloudwatch/eventTarget.js +31 -0
- package/cloudwatch/eventTarget.js.map +1 -1
- package/codestarconnections/connection.d.ts +17 -5
- package/codestarconnections/connection.js +2 -3
- package/codestarconnections/connection.js.map +1 -1
- package/codestarconnections/getConnection.d.ts +4 -0
- package/datasync/agent.d.ts +54 -6
- package/datasync/agent.js +8 -0
- package/datasync/agent.js.map +1 -1
- package/datasync/s3location.d.ts +12 -0
- package/datasync/s3location.js +2 -0
- package/datasync/s3location.js.map +1 -1
- package/datasync/task.d.ts +55 -0
- package/datasync/task.js +35 -0
- package/datasync/task.js.map +1 -1
- package/directconnect/gatewayAssociation.d.ts +1 -1
- package/directconnect/gatewayAssociation.js +1 -1
- package/ec2/amiCopy.d.ts +15 -0
- package/ec2/amiCopy.js +2 -0
- package/ec2/amiCopy.js.map +1 -1
- package/ec2/getRouteTables.d.ts +0 -29
- package/ec2/getRouteTables.js +0 -29
- package/ec2/getRouteTables.js.map +1 -1
- package/ec2/launchTemplate.d.ts +1 -1
- package/ec2/networkInterface.d.ts +12 -0
- package/ec2/networkInterface.js +2 -0
- package/ec2/networkInterface.js.map +1 -1
- package/eks/nodeGroup.d.ts +27 -6
- package/eks/nodeGroup.js +2 -0
- package/eks/nodeGroup.js.map +1 -1
- package/elasticloadbalancingv2/getListener.d.ts +6 -0
- package/elasticloadbalancingv2/getListener.js +1 -0
- package/elasticloadbalancingv2/getListener.js.map +1 -1
- package/elasticloadbalancingv2/listener.d.ts +36 -0
- package/elasticloadbalancingv2/listener.js +4 -0
- package/elasticloadbalancingv2/listener.js.map +1 -1
- package/elasticloadbalancingv2/listenerRule.d.ts +36 -0
- package/elasticloadbalancingv2/listenerRule.js +4 -0
- package/elasticloadbalancingv2/listenerRule.js.map +1 -1
- package/glue/catalogDatabase.d.ts +27 -14
- package/glue/catalogDatabase.js +2 -0
- package/glue/catalogDatabase.js.map +1 -1
- package/glue/catalogTable.d.ts +36 -24
- package/glue/catalogTable.js +2 -0
- package/glue/catalogTable.js.map +1 -1
- package/glue/getConnection.d.ts +64 -0
- package/glue/getConnection.js +33 -0
- package/glue/getConnection.js.map +1 -0
- package/glue/getDataCatalogEncryptionSettings.d.ts +40 -0
- package/glue/getDataCatalogEncryptionSettings.js +33 -0
- package/glue/getDataCatalogEncryptionSettings.js.map +1 -0
- package/glue/index.d.ts +2 -0
- package/glue/index.js +2 -0
- package/glue/index.js.map +1 -1
- package/iam/principals.d.ts +4 -0
- package/iam/principals.js +4 -0
- package/iam/principals.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +6 -0
- package/index.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +0 -2
- package/lambda/eventSourceMapping.js +0 -2
- package/lambda/eventSourceMapping.js.map +1 -1
- package/lb/getListener.d.ts +6 -0
- package/lb/getListener.js +1 -0
- package/lb/getListener.js.map +1 -1
- package/lb/listener.d.ts +36 -0
- package/lb/listener.js +4 -0
- package/lb/listener.js.map +1 -1
- package/lb/listenerRule.d.ts +36 -0
- package/lb/listenerRule.js +4 -0
- package/lb/listenerRule.js.map +1 -1
- package/macie/customDataIdentifier.d.ts +183 -0
- package/macie/customDataIdentifier.js +99 -0
- package/macie/customDataIdentifier.js.map +1 -0
- package/macie/findingsFilter.d.ts +168 -0
- package/macie/findingsFilter.js +105 -0
- package/macie/findingsFilter.js.map +1 -0
- package/macie/index.d.ts +2 -0
- package/macie/index.js +10 -0
- package/macie/index.js.map +1 -1
- package/macie2/index.d.ts +3 -0
- package/macie2/index.js +15 -0
- package/macie2/index.js.map +1 -1
- package/macie2/invitationAccepter.d.ts +91 -0
- package/macie2/invitationAccepter.js +90 -0
- package/macie2/invitationAccepter.js.map +1 -0
- package/macie2/member.d.ts +206 -0
- package/macie2/member.js +111 -0
- package/macie2/member.js.map +1 -0
- package/macie2/organizationAdminAccount.d.ts +71 -0
- package/macie2/organizationAdminAccount.js +76 -0
- package/macie2/organizationAdminAccount.js.map +1 -0
- package/organizations/delegatedAdministrator.d.ts +139 -0
- package/organizations/delegatedAdministrator.js +95 -0
- package/organizations/delegatedAdministrator.js.map +1 -0
- package/organizations/getDelegatedAdministrators.d.ts +40 -0
- package/organizations/getDelegatedAdministrators.js +34 -0
- package/organizations/getDelegatedAdministrators.js.map +1 -0
- package/organizations/getDelegatedServices.d.ts +40 -0
- package/organizations/getDelegatedServices.js +33 -0
- package/organizations/getDelegatedServices.js.map +1 -0
- package/organizations/index.d.ts +3 -0
- package/organizations/index.js +7 -0
- package/organizations/index.js.map +1 -1
- package/organizations/organization.d.ts +3 -3
- package/outposts/getOutpost.d.ts +4 -3
- package/outposts/getOutpost.js +1 -0
- package/outposts/getOutpost.js.map +1 -1
- package/outposts/getOutposts.d.ts +5 -0
- package/outposts/getOutposts.js +1 -0
- package/outposts/getOutposts.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/pinpoint/emailChannel.d.ts +2 -2
- package/pinpoint/emailChannel.js +0 -3
- package/pinpoint/emailChannel.js.map +1 -1
- package/resourcegroupstaggingapi/getResources.d.ts +85 -0
- package/resourcegroupstaggingapi/getResources.js +63 -0
- package/resourcegroupstaggingapi/getResources.js.map +1 -0
- package/resourcegroupstaggingapi/index.d.ts +1 -0
- package/resourcegroupstaggingapi/index.js +10 -0
- package/resourcegroupstaggingapi/index.js.map +1 -0
- package/servicecatalog/index.d.ts +3 -0
- package/servicecatalog/index.js +15 -0
- package/servicecatalog/index.js.map +1 -1
- package/servicecatalog/organizationsAccess.d.ts +65 -0
- package/servicecatalog/organizationsAccess.js +70 -0
- package/servicecatalog/organizationsAccess.js.map +1 -0
- package/servicecatalog/portfolioShare.d.ts +149 -0
- package/servicecatalog/portfolioShare.js +104 -0
- package/servicecatalog/portfolioShare.js.map +1 -0
- package/servicecatalog/tagOption.d.ts +98 -0
- package/servicecatalog/tagOption.js +86 -0
- package/servicecatalog/tagOption.js.map +1 -0
- package/timestreamwrite/database.d.ts +140 -0
- package/timestreamwrite/database.js +100 -0
- package/timestreamwrite/database.js.map +1 -0
- package/timestreamwrite/index.d.ts +2 -0
- package/timestreamwrite/index.js +31 -0
- package/timestreamwrite/index.js.map +1 -0
- package/timestreamwrite/table.d.ts +150 -0
- package/timestreamwrite/table.js +108 -0
- package/timestreamwrite/table.js.map +1 -0
- package/types/input.d.ts +392 -40
- package/types/output.d.ts +522 -64
|
@@ -0,0 +1,99 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Manages an App Runner AutoScaling Configuration Version.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
*
|
|
16
|
+
* const example = new aws.apprunner.AutoScalingConfigurationVersion("example", {
|
|
17
|
+
* autoScalingConfigurationName: "example",
|
|
18
|
+
* maxConcurrency: 50,
|
|
19
|
+
* maxSize: 10,
|
|
20
|
+
* minSize: 2,
|
|
21
|
+
* tags: {
|
|
22
|
+
* Name: "example-apprunner-autoscaling",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* App Runner AutoScaling Configuration Versions can be imported by using the `arn`, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import aws:apprunner/autoScalingConfigurationVersion:AutoScalingConfigurationVersion example "arn:aws:apprunner:us-east-1:1234567890:autoscalingconfiguration/example/1/69bdfe0115224b0db49398b7beb68e0f
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class AutoScalingConfigurationVersion extends pulumi.CustomResource {
|
|
36
|
+
constructor(name, argsOrState, opts) {
|
|
37
|
+
let inputs = {};
|
|
38
|
+
opts = opts || {};
|
|
39
|
+
if (opts.id) {
|
|
40
|
+
const state = argsOrState;
|
|
41
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
42
|
+
inputs["autoScalingConfigurationName"] = state ? state.autoScalingConfigurationName : undefined;
|
|
43
|
+
inputs["autoScalingConfigurationRevision"] = state ? state.autoScalingConfigurationRevision : undefined;
|
|
44
|
+
inputs["latest"] = state ? state.latest : undefined;
|
|
45
|
+
inputs["maxConcurrency"] = state ? state.maxConcurrency : undefined;
|
|
46
|
+
inputs["maxSize"] = state ? state.maxSize : undefined;
|
|
47
|
+
inputs["minSize"] = state ? state.minSize : undefined;
|
|
48
|
+
inputs["status"] = state ? state.status : undefined;
|
|
49
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
50
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
const args = argsOrState;
|
|
54
|
+
if ((!args || args.autoScalingConfigurationName === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'autoScalingConfigurationName'");
|
|
56
|
+
}
|
|
57
|
+
inputs["autoScalingConfigurationName"] = args ? args.autoScalingConfigurationName : undefined;
|
|
58
|
+
inputs["maxConcurrency"] = args ? args.maxConcurrency : undefined;
|
|
59
|
+
inputs["maxSize"] = args ? args.maxSize : undefined;
|
|
60
|
+
inputs["minSize"] = args ? args.minSize : undefined;
|
|
61
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
62
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
63
|
+
inputs["arn"] = undefined /*out*/;
|
|
64
|
+
inputs["autoScalingConfigurationRevision"] = undefined /*out*/;
|
|
65
|
+
inputs["latest"] = undefined /*out*/;
|
|
66
|
+
inputs["status"] = undefined /*out*/;
|
|
67
|
+
}
|
|
68
|
+
if (!opts.version) {
|
|
69
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
70
|
+
}
|
|
71
|
+
super(AutoScalingConfigurationVersion.__pulumiType, name, inputs, opts);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get an existing AutoScalingConfigurationVersion resource's state with the given name, ID, and optional extra
|
|
75
|
+
* properties used to qualify the lookup.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resulting resource.
|
|
78
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
79
|
+
* @param state Any extra arguments used during the lookup.
|
|
80
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
|
+
*/
|
|
82
|
+
static get(name, id, state, opts) {
|
|
83
|
+
return new AutoScalingConfigurationVersion(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if the given object is an instance of AutoScalingConfigurationVersion. This is designed to work even
|
|
87
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
+
*/
|
|
89
|
+
static isInstance(obj) {
|
|
90
|
+
if (obj === undefined || obj === null) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
return obj['__pulumiType'] === AutoScalingConfigurationVersion.__pulumiType;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.AutoScalingConfigurationVersion = AutoScalingConfigurationVersion;
|
|
97
|
+
/** @internal */
|
|
98
|
+
AutoScalingConfigurationVersion.__pulumiType = 'aws:apprunner/autoScalingConfigurationVersion:AutoScalingConfigurationVersion';
|
|
99
|
+
//# sourceMappingURL=autoScalingConfigurationVersion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoSc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AClC,MAAM,CAAC,kCAAkC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,MAAM,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrC,MAAM,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxC;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,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;IA/GD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtF,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,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;;AA1BL,0EAiHC;AAnGG,gBAAgB;AACO,4CAAY,GAAG,+EAA+E,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an App Runner Connection.
|
|
4
|
+
*
|
|
5
|
+
* > **NOTE:** After creation, you must complete the authentication handshake using the App Runner console.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.apprunner.Connection("example", {
|
|
14
|
+
* connectionName: "example",
|
|
15
|
+
* providerType: "GITHUB",
|
|
16
|
+
* tags: {
|
|
17
|
+
* Name: "example-apprunner-connection",
|
|
18
|
+
* },
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* App Runner Connections can be imported by using the `connection_name`, e.g.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import aws:apprunner/connection:Connection example example
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Connection extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Connection resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectionState, opts?: pulumi.CustomResourceOptions): Connection;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Connection. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is Connection;
|
|
46
|
+
/**
|
|
47
|
+
* ARN of the connection.
|
|
48
|
+
*/
|
|
49
|
+
readonly arn: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Name of the connection.
|
|
52
|
+
*/
|
|
53
|
+
readonly connectionName: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The source repository provider. Valid values: `GITHUB`.
|
|
56
|
+
*/
|
|
57
|
+
readonly providerType: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The current state of the App Runner connection. When the state is `AVAILABLE`, you can use the connection to create an `aws.apprunner.Service` resource.
|
|
60
|
+
*/
|
|
61
|
+
readonly status: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Key-value map of resource tags. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
64
|
+
*/
|
|
65
|
+
readonly tags: pulumi.Output<{
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
} | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
70
|
+
*/
|
|
71
|
+
readonly tagsAll: pulumi.Output<{
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
}>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a Connection resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: ConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering Connection resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface ConnectionState {
|
|
87
|
+
/**
|
|
88
|
+
* ARN of the connection.
|
|
89
|
+
*/
|
|
90
|
+
readonly arn?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Name of the connection.
|
|
93
|
+
*/
|
|
94
|
+
readonly connectionName?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The source repository provider. Valid values: `GITHUB`.
|
|
97
|
+
*/
|
|
98
|
+
readonly providerType?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The current state of the App Runner connection. When the state is `AVAILABLE`, you can use the connection to create an `aws.apprunner.Service` resource.
|
|
101
|
+
*/
|
|
102
|
+
readonly status?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Key-value map of resource tags. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
105
|
+
*/
|
|
106
|
+
readonly tags?: pulumi.Input<{
|
|
107
|
+
[key: string]: pulumi.Input<string>;
|
|
108
|
+
}>;
|
|
109
|
+
/**
|
|
110
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
111
|
+
*/
|
|
112
|
+
readonly tagsAll?: pulumi.Input<{
|
|
113
|
+
[key: string]: pulumi.Input<string>;
|
|
114
|
+
}>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The set of arguments for constructing a Connection resource.
|
|
118
|
+
*/
|
|
119
|
+
export interface ConnectionArgs {
|
|
120
|
+
/**
|
|
121
|
+
* Name of the connection.
|
|
122
|
+
*/
|
|
123
|
+
readonly connectionName: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The source repository provider. Valid values: `GITHUB`.
|
|
126
|
+
*/
|
|
127
|
+
readonly providerType: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Key-value map of resource tags. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
130
|
+
*/
|
|
131
|
+
readonly tags?: pulumi.Input<{
|
|
132
|
+
[key: string]: pulumi.Input<string>;
|
|
133
|
+
}>;
|
|
134
|
+
/**
|
|
135
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
136
|
+
*/
|
|
137
|
+
readonly tagsAll?: pulumi.Input<{
|
|
138
|
+
[key: string]: pulumi.Input<string>;
|
|
139
|
+
}>;
|
|
140
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Manages an App Runner Connection.
|
|
9
|
+
*
|
|
10
|
+
* > **NOTE:** After creation, you must complete the authentication handshake using the App Runner console.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = new aws.apprunner.Connection("example", {
|
|
19
|
+
* connectionName: "example",
|
|
20
|
+
* providerType: "GITHUB",
|
|
21
|
+
* tags: {
|
|
22
|
+
* Name: "example-apprunner-connection",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* App Runner Connections can be imported by using the `connection_name`, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import aws:apprunner/connection:Connection example example
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class Connection extends pulumi.CustomResource {
|
|
36
|
+
constructor(name, argsOrState, opts) {
|
|
37
|
+
let inputs = {};
|
|
38
|
+
opts = opts || {};
|
|
39
|
+
if (opts.id) {
|
|
40
|
+
const state = argsOrState;
|
|
41
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
42
|
+
inputs["connectionName"] = state ? state.connectionName : undefined;
|
|
43
|
+
inputs["providerType"] = state ? state.providerType : undefined;
|
|
44
|
+
inputs["status"] = state ? state.status : undefined;
|
|
45
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
46
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.connectionName === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'connectionName'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.providerType === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'providerType'");
|
|
55
|
+
}
|
|
56
|
+
inputs["connectionName"] = args ? args.connectionName : undefined;
|
|
57
|
+
inputs["providerType"] = args ? args.providerType : undefined;
|
|
58
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
59
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
60
|
+
inputs["arn"] = undefined /*out*/;
|
|
61
|
+
inputs["status"] = undefined /*out*/;
|
|
62
|
+
}
|
|
63
|
+
if (!opts.version) {
|
|
64
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
65
|
+
}
|
|
66
|
+
super(Connection.__pulumiType, name, inputs, opts);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing Connection resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new Connection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Returns true if the given object is an instance of Connection. This is designed to work even
|
|
82
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
83
|
+
*/
|
|
84
|
+
static isInstance(obj) {
|
|
85
|
+
if (obj === undefined || obj === null) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
return obj['__pulumiType'] === Connection.__pulumiType;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.Connection = Connection;
|
|
92
|
+
/** @internal */
|
|
93
|
+
Connection.__pulumiType = 'aws:apprunner/connection:Connection';
|
|
94
|
+
//# sourceMappingURL=connection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../apprunner/connection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA6DjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,QAAQ,CAAC,GAAG,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C;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;IA1FD;;;;;;;;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,gCA4FC;AA9EG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Manages an App Runner Custom Domain association.
|
|
5
|
+
*
|
|
6
|
+
* > **NOTE:** After creation, you must use the information in the `certificationValidationRecords` attribute to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain (found in the `dnsTarget` attribute) and one or more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name you associated. App Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM).
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = new aws.apprunner.CustomDomainAssociation("example", {
|
|
15
|
+
* domainName: "example.com",
|
|
16
|
+
* serviceArn: aws_apprunner_service.example.arn,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* App Runner Custom Domain Associations can be imported by using the `domain_name` and `service_arn` separated by a comma (`,`), e.g.
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import aws:apprunner/customDomainAssociation:CustomDomainAssociation example example.com,arn:aws:apprunner:us-east-1:123456789012:service/example-
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* app/8fe1e10304f84fd2b0df550fe98a71fa
|
|
29
|
+
*/
|
|
30
|
+
export declare class CustomDomainAssociation extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing CustomDomainAssociation resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomDomainAssociationState, opts?: pulumi.CustomResourceOptions): CustomDomainAssociation;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of CustomDomainAssociation. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is CustomDomainAssociation;
|
|
46
|
+
/**
|
|
47
|
+
* A set of certificate CNAME records used for this domain name. See Certificate Validation Records below for more details.
|
|
48
|
+
*/
|
|
49
|
+
readonly certificateValidationRecords: pulumi.Output<outputs.apprunner.CustomDomainAssociationCertificateValidationRecord[]>;
|
|
50
|
+
readonly dnsTarget: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The custom domain endpoint to association. Specify a base domain e.g. `example.com` or a subdomain e.g. `subdomain.example.com`.
|
|
53
|
+
*/
|
|
54
|
+
readonly domainName: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Whether to associate the subdomain with the App Runner service in addition to the base domain. Defaults to `true`.
|
|
57
|
+
*/
|
|
58
|
+
readonly enableWwwSubdomain: pulumi.Output<boolean | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* The ARN of the App Runner service.
|
|
61
|
+
*/
|
|
62
|
+
readonly serviceArn: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The current state of the certificate CNAME record validation. It should change to `SUCCESS` after App Runner completes validation with your DNS.
|
|
65
|
+
*/
|
|
66
|
+
readonly status: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Create a CustomDomainAssociation resource with the given unique name, arguments, and options.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resource.
|
|
71
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
72
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
73
|
+
*/
|
|
74
|
+
constructor(name: string, args: CustomDomainAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Input properties used for looking up and filtering CustomDomainAssociation resources.
|
|
78
|
+
*/
|
|
79
|
+
export interface CustomDomainAssociationState {
|
|
80
|
+
/**
|
|
81
|
+
* A set of certificate CNAME records used for this domain name. See Certificate Validation Records below for more details.
|
|
82
|
+
*/
|
|
83
|
+
readonly certificateValidationRecords?: pulumi.Input<pulumi.Input<inputs.apprunner.CustomDomainAssociationCertificateValidationRecord>[]>;
|
|
84
|
+
readonly dnsTarget?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The custom domain endpoint to association. Specify a base domain e.g. `example.com` or a subdomain e.g. `subdomain.example.com`.
|
|
87
|
+
*/
|
|
88
|
+
readonly domainName?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Whether to associate the subdomain with the App Runner service in addition to the base domain. Defaults to `true`.
|
|
91
|
+
*/
|
|
92
|
+
readonly enableWwwSubdomain?: pulumi.Input<boolean>;
|
|
93
|
+
/**
|
|
94
|
+
* The ARN of the App Runner service.
|
|
95
|
+
*/
|
|
96
|
+
readonly serviceArn?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The current state of the certificate CNAME record validation. It should change to `SUCCESS` after App Runner completes validation with your DNS.
|
|
99
|
+
*/
|
|
100
|
+
readonly status?: pulumi.Input<string>;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* The set of arguments for constructing a CustomDomainAssociation resource.
|
|
104
|
+
*/
|
|
105
|
+
export interface CustomDomainAssociationArgs {
|
|
106
|
+
/**
|
|
107
|
+
* The custom domain endpoint to association. Specify a base domain e.g. `example.com` or a subdomain e.g. `subdomain.example.com`.
|
|
108
|
+
*/
|
|
109
|
+
readonly domainName: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Whether to associate the subdomain with the App Runner service in addition to the base domain. Defaults to `true`.
|
|
112
|
+
*/
|
|
113
|
+
readonly enableWwwSubdomain?: pulumi.Input<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* The ARN of the App Runner service.
|
|
116
|
+
*/
|
|
117
|
+
readonly serviceArn: pulumi.Input<string>;
|
|
118
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Manages an App Runner Custom Domain association.
|
|
9
|
+
*
|
|
10
|
+
* > **NOTE:** After creation, you must use the information in the `certificationValidationRecords` attribute to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain (found in the `dnsTarget` attribute) and one or more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name you associated. App Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM).
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = new aws.apprunner.CustomDomainAssociation("example", {
|
|
19
|
+
* domainName: "example.com",
|
|
20
|
+
* serviceArn: aws_apprunner_service.example.arn,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* App Runner Custom Domain Associations can be imported by using the `domain_name` and `service_arn` separated by a comma (`,`), e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:apprunner/customDomainAssociation:CustomDomainAssociation example example.com,arn:aws:apprunner:us-east-1:123456789012:service/example-
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* app/8fe1e10304f84fd2b0df550fe98a71fa
|
|
33
|
+
*/
|
|
34
|
+
class CustomDomainAssociation extends pulumi.CustomResource {
|
|
35
|
+
constructor(name, argsOrState, opts) {
|
|
36
|
+
let inputs = {};
|
|
37
|
+
opts = opts || {};
|
|
38
|
+
if (opts.id) {
|
|
39
|
+
const state = argsOrState;
|
|
40
|
+
inputs["certificateValidationRecords"] = state ? state.certificateValidationRecords : undefined;
|
|
41
|
+
inputs["dnsTarget"] = state ? state.dnsTarget : undefined;
|
|
42
|
+
inputs["domainName"] = state ? state.domainName : undefined;
|
|
43
|
+
inputs["enableWwwSubdomain"] = state ? state.enableWwwSubdomain : undefined;
|
|
44
|
+
inputs["serviceArn"] = state ? state.serviceArn : undefined;
|
|
45
|
+
inputs["status"] = state ? state.status : undefined;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const args = argsOrState;
|
|
49
|
+
if ((!args || args.domainName === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'domainName'");
|
|
51
|
+
}
|
|
52
|
+
if ((!args || args.serviceArn === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'serviceArn'");
|
|
54
|
+
}
|
|
55
|
+
inputs["domainName"] = args ? args.domainName : undefined;
|
|
56
|
+
inputs["enableWwwSubdomain"] = args ? args.enableWwwSubdomain : undefined;
|
|
57
|
+
inputs["serviceArn"] = args ? args.serviceArn : undefined;
|
|
58
|
+
inputs["certificateValidationRecords"] = undefined /*out*/;
|
|
59
|
+
inputs["dnsTarget"] = undefined /*out*/;
|
|
60
|
+
inputs["status"] = undefined /*out*/;
|
|
61
|
+
}
|
|
62
|
+
if (!opts.version) {
|
|
63
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
64
|
+
}
|
|
65
|
+
super(CustomDomainAssociation.__pulumiType, name, inputs, opts);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing CustomDomainAssociation resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new CustomDomainAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of CustomDomainAssociation. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === CustomDomainAssociation.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.CustomDomainAssociation = CustomDomainAssociation;
|
|
91
|
+
/** @internal */
|
|
92
|
+
CustomDomainAssociation.__pulumiType = 'aws:apprunner/customDomainAssociation:CustomDomainAssociation';
|
|
93
|
+
//# sourceMappingURL=customDomainAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customDomainAssociation.js","sourceRoot":"","sources":["../../apprunner/customDomainAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IA0D9D,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,MAAM,CAAC,8BAA8B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC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G,SAAS,CAAC,OAAO,CAAC;SACxC;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,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IAvFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;;AA1BL,0DAyFC;AA3EG,gBAAgB;AACO,oCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
function __export(m) {
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
const pulumi = require("@pulumi/pulumi");
|
|
9
|
+
const utilities = require("../utilities");
|
|
10
|
+
// Export members:
|
|
11
|
+
__export(require("./autoScalingConfigurationVersion"));
|
|
12
|
+
__export(require("./connection"));
|
|
13
|
+
__export(require("./customDomainAssociation"));
|
|
14
|
+
__export(require("./service"));
|
|
15
|
+
// Import resources to register:
|
|
16
|
+
const autoScalingConfigurationVersion_1 = require("./autoScalingConfigurationVersion");
|
|
17
|
+
const connection_1 = require("./connection");
|
|
18
|
+
const customDomainAssociation_1 = require("./customDomainAssociation");
|
|
19
|
+
const service_1 = require("./service");
|
|
20
|
+
const _module = {
|
|
21
|
+
version: utilities.getVersion(),
|
|
22
|
+
construct: (name, type, urn) => {
|
|
23
|
+
switch (type) {
|
|
24
|
+
case "aws:apprunner/autoScalingConfigurationVersion:AutoScalingConfigurationVersion":
|
|
25
|
+
return new autoScalingConfigurationVersion_1.AutoScalingConfigurationVersion(name, undefined, { urn });
|
|
26
|
+
case "aws:apprunner/connection:Connection":
|
|
27
|
+
return new connection_1.Connection(name, undefined, { urn });
|
|
28
|
+
case "aws:apprunner/customDomainAssociation:CustomDomainAssociation":
|
|
29
|
+
return new customDomainAssociation_1.CustomDomainAssociation(name, undefined, { urn });
|
|
30
|
+
case "aws:apprunner/service:Service":
|
|
31
|
+
return new service_1.Service(name, undefined, { urn });
|
|
32
|
+
default:
|
|
33
|
+
throw new Error(`unknown resource type ${type}`);
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
pulumi.runtime.registerResourceModule("aws", "apprunner/autoScalingConfigurationVersion", _module);
|
|
38
|
+
pulumi.runtime.registerResourceModule("aws", "apprunner/connection", _module);
|
|
39
|
+
pulumi.runtime.registerResourceModule("aws", "apprunner/customDomainAssociation", _module);
|
|
40
|
+
pulumi.runtime.registerResourceModule("aws", "apprunner/service", _module);
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../apprunner/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,uDAAkD;A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