@pulumi/aws-native 1.43.0-alpha.1766090516 → 1.43.0-alpha.1766150342
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/bedrockagentcore/gatewayTarget.d.ts +1 -1
- package/bedrockagentcore/gatewayTarget.js +1 -1
- package/bedrockagentcore/getGatewayTarget.d.ts +2 -2
- package/bedrockagentcore/getGatewayTarget.js +2 -2
- package/cases/caseRule.d.ts +85 -0
- package/cases/caseRule.js +77 -0
- package/cases/caseRule.js.map +1 -0
- package/cases/domain.d.ts +65 -0
- package/cases/domain.js +68 -0
- package/cases/domain.js.map +1 -0
- package/cases/field.d.ts +84 -0
- package/cases/field.js +79 -0
- package/cases/field.js.map +1 -0
- package/cases/getCaseRule.d.ts +53 -0
- package/cases/getCaseRule.js +28 -0
- package/cases/getCaseRule.js.map +1 -0
- package/cases/getDomain.d.ts +42 -0
- package/cases/getDomain.js +28 -0
- package/cases/getDomain.js.map +1 -0
- package/cases/getField.d.ts +54 -0
- package/cases/getField.js +28 -0
- package/cases/getField.js.map +1 -0
- package/cases/getLayout.d.ts +46 -0
- package/cases/getLayout.js +28 -0
- package/cases/getLayout.js.map +1 -0
- package/cases/getTemplate.d.ts +63 -0
- package/cases/getTemplate.js +28 -0
- package/cases/getTemplate.js.map +1 -0
- package/cases/index.d.ts +31 -0
- package/cases/index.js +69 -0
- package/cases/index.js.map +1 -0
- package/cases/layout.d.ts +71 -0
- package/cases/layout.js +75 -0
- package/cases/layout.js.map +1 -0
- package/cases/template.d.ts +104 -0
- package/cases/template.js +80 -0
- package/cases/template.js.map +1 -0
- package/connect/contactFlowModule.d.ts +16 -0
- package/connect/contactFlowModule.js +4 -0
- package/connect/contactFlowModule.js.map +1 -1
- package/connect/getContactFlowModule.d.ts +8 -0
- package/connect/getContactFlowModule.js.map +1 -1
- package/connect/getHoursOfOperation.d.ts +8 -0
- package/connect/getHoursOfOperation.js.map +1 -1
- package/connect/hoursOfOperation.d.ts +16 -0
- package/connect/hoursOfOperation.js +4 -0
- package/connect/hoursOfOperation.js.map +1 -1
- package/ec2/getVolume.d.ts +19 -13
- package/ec2/getVolume.js.map +1 -1
- package/ec2/volume.d.ts +38 -26
- package/ec2/volume.js.map +1 -1
- package/ec2/vpnConnection.d.ts +12 -0
- package/ec2/vpnConnection.js.map +1 -1
- package/emr/step.d.ts +16 -0
- package/emr/step.js +5 -1
- package/emr/step.js.map +1 -1
- package/gameliftstreams/streamGroup.d.ts +96 -12
- package/gameliftstreams/streamGroup.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +7 -5
- package/index.js.map +1 -1
- package/iotanalytics/dataset.d.ts +2 -2
- package/iotanalytics/datastore.d.ts +2 -2
- package/iotanalytics/getDataset.d.ts +1 -1
- package/iotanalytics/getDatastore.d.ts +1 -1
- package/lex/bot.d.ts +3 -3
- package/lex/bot.js +1 -1
- package/lex/botAlias.d.ts +3 -3
- package/lex/botAlias.js +1 -1
- package/lex/getBot.d.ts +6 -6
- package/lex/getBot.js +2 -2
- package/lex/getBotAlias.d.ts +6 -2
- package/lex/getBotAlias.js +2 -2
- package/lex/getBotAlias.js.map +1 -1
- package/observabilityadmin/getS3TableIntegration.d.ts +36 -0
- package/observabilityadmin/getS3TableIntegration.js +28 -0
- package/observabilityadmin/getS3TableIntegration.js.map +1 -0
- package/observabilityadmin/index.d.ts +6 -0
- package/observabilityadmin/index.js +8 -1
- package/observabilityadmin/index.js.map +1 -1
- package/observabilityadmin/s3tableIntegration.d.ts +71 -0
- package/observabilityadmin/s3tableIntegration.js +72 -0
- package/observabilityadmin/s3tableIntegration.js.map +1 -0
- package/odb/getOdbPeeringConnection.d.ts +8 -0
- package/odb/getOdbPeeringConnection.js.map +1 -1
- package/odb/odbPeeringConnection.d.ts +12 -0
- package/odb/odbPeeringConnection.js +5 -1
- package/odb/odbPeeringConnection.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/types/enums/bedrockagentcore/index.d.ts +5 -0
- package/types/enums/bedrockagentcore/index.js +5 -1
- package/types/enums/bedrockagentcore/index.js.map +1 -1
- package/types/enums/cases/index.d.ts +38 -0
- package/types/enums/cases/index.js +28 -0
- package/types/enums/cases/index.js.map +1 -0
- package/types/enums/connect/index.d.ts +22 -4
- package/types/enums/connect/index.js +12 -2
- package/types/enums/connect/index.js.map +1 -1
- package/types/enums/ec2/index.d.ts +3 -0
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/ecr/index.d.ts +1 -0
- package/types/enums/ecr/index.js +1 -0
- package/types/enums/ecr/index.js.map +1 -1
- package/types/enums/ecs/index.d.ts +5 -0
- package/types/enums/ecs/index.js +5 -1
- package/types/enums/ecs/index.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +6 -4
- package/types/enums/index.js.map +1 -1
- package/types/enums/lex/index.d.ts +11 -0
- package/types/enums/lex/index.js +10 -1
- package/types/enums/lex/index.js.map +1 -1
- package/types/enums/observabilityadmin/index.d.ts +8 -0
- package/types/enums/observabilityadmin/index.js +5 -1
- package/types/enums/observabilityadmin/index.js.map +1 -1
- package/types/input.d.ts +352 -40
- package/types/output.d.ts +352 -40
- package/types/output.js.map +1 -1
- package/workspacesweb/getUserSettings.d.ts +1 -0
- package/workspacesweb/getUserSettings.js.map +1 -1
- package/workspacesweb/userSettings.d.ts +2 -0
- package/workspacesweb/userSettings.js +2 -0
- package/workspacesweb/userSettings.js.map +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* A domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainResult>;
|
|
8
|
+
export interface GetDomainArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The Amazon Resource Name (ARN) for the Cases domain.
|
|
11
|
+
*/
|
|
12
|
+
domainArn: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetDomainResult {
|
|
15
|
+
/**
|
|
16
|
+
* The time at which the domain was created.
|
|
17
|
+
*/
|
|
18
|
+
readonly createdTime?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The Amazon Resource Name (ARN) for the Cases domain.
|
|
21
|
+
*/
|
|
22
|
+
readonly domainArn?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The unique identifier of the Cases domain.
|
|
25
|
+
*/
|
|
26
|
+
readonly domainId?: string;
|
|
27
|
+
readonly domainStatus?: enums.cases.DomainStatus;
|
|
28
|
+
/**
|
|
29
|
+
* The tags that you attach to this domain.
|
|
30
|
+
*/
|
|
31
|
+
readonly tags?: outputs.Tag[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
|
|
35
|
+
*/
|
|
36
|
+
export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainResult>;
|
|
37
|
+
export interface GetDomainOutputArgs {
|
|
38
|
+
/**
|
|
39
|
+
* The Amazon Resource Name (ARN) for the Cases domain.
|
|
40
|
+
*/
|
|
41
|
+
domainArn: pulumi.Input<string>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getDomainOutput = exports.getDomain = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
|
|
10
|
+
*/
|
|
11
|
+
function getDomain(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:cases:getDomain", {
|
|
14
|
+
"domainArn": args.domainArn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getDomain = getDomain;
|
|
18
|
+
/**
|
|
19
|
+
* A domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
|
|
20
|
+
*/
|
|
21
|
+
function getDomainOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:cases:getDomain", {
|
|
24
|
+
"domainArn": args.domainArn,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getDomainOutput = getDomainOutput;
|
|
28
|
+
//# sourceMappingURL=getDomain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../../cases/getDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AA4BD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4BAA4B,EAAE;QAC7D,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* A field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getField(args: GetFieldArgs, opts?: pulumi.InvokeOptions): Promise<GetFieldResult>;
|
|
8
|
+
export interface GetFieldArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The Amazon Resource Name (ARN) of the field.
|
|
11
|
+
*/
|
|
12
|
+
fieldArn: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetFieldResult {
|
|
15
|
+
/**
|
|
16
|
+
* The time at which the field was created.
|
|
17
|
+
*/
|
|
18
|
+
readonly createdTime?: string;
|
|
19
|
+
/**
|
|
20
|
+
* A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
|
|
21
|
+
*/
|
|
22
|
+
readonly description?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The Amazon Resource Name (ARN) of the field.
|
|
25
|
+
*/
|
|
26
|
+
readonly fieldArn?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The unique identifier of a field.
|
|
29
|
+
*/
|
|
30
|
+
readonly fieldId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The time at which the field was created or last modified.
|
|
33
|
+
*/
|
|
34
|
+
readonly lastModifiedTime?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
|
|
37
|
+
*/
|
|
38
|
+
readonly name?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
|
|
41
|
+
*/
|
|
42
|
+
readonly namespace?: enums.cases.FieldNamespace;
|
|
43
|
+
readonly tags?: outputs.Tag[];
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
|
|
47
|
+
*/
|
|
48
|
+
export declare function getFieldOutput(args: GetFieldOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFieldResult>;
|
|
49
|
+
export interface GetFieldOutputArgs {
|
|
50
|
+
/**
|
|
51
|
+
* The Amazon Resource Name (ARN) of the field.
|
|
52
|
+
*/
|
|
53
|
+
fieldArn: pulumi.Input<string>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getFieldOutput = exports.getField = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
|
|
10
|
+
*/
|
|
11
|
+
function getField(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:cases:getField", {
|
|
14
|
+
"fieldArn": args.fieldArn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getField = getField;
|
|
18
|
+
/**
|
|
19
|
+
* A field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
|
|
20
|
+
*/
|
|
21
|
+
function getFieldOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:cases:getField", {
|
|
24
|
+
"fieldArn": args.fieldArn,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getFieldOutput = getFieldOutput;
|
|
28
|
+
//# sourceMappingURL=getField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getField.js","sourceRoot":"","sources":["../../cases/getField.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAwCD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2BAA2B,EAAE;QAC5D,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* A layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface: Fields to display to the users and Field ordering.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getLayout(args: GetLayoutArgs, opts?: pulumi.InvokeOptions): Promise<GetLayoutResult>;
|
|
7
|
+
export interface GetLayoutArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The Amazon Resource Name (ARN) of the layout.
|
|
10
|
+
*/
|
|
11
|
+
layoutArn: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetLayoutResult {
|
|
14
|
+
readonly content?: outputs.cases.LayoutContentProperties;
|
|
15
|
+
/**
|
|
16
|
+
* The time at which the layout was created.
|
|
17
|
+
*/
|
|
18
|
+
readonly createdTime?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The time at which the layout was created or last modified.
|
|
21
|
+
*/
|
|
22
|
+
readonly lastModifiedTime?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The Amazon Resource Name (ARN) of the layout.
|
|
25
|
+
*/
|
|
26
|
+
readonly layoutArn?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The unique identifier of the layout.
|
|
29
|
+
*/
|
|
30
|
+
readonly layoutId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* A descriptive name for the layout. Must be unique within the Cases domain and should clearly indicate the layout's purpose and field organization.
|
|
33
|
+
*/
|
|
34
|
+
readonly name?: string;
|
|
35
|
+
readonly tags?: outputs.Tag[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface: Fields to display to the users and Field ordering.
|
|
39
|
+
*/
|
|
40
|
+
export declare function getLayoutOutput(args: GetLayoutOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLayoutResult>;
|
|
41
|
+
export interface GetLayoutOutputArgs {
|
|
42
|
+
/**
|
|
43
|
+
* The Amazon Resource Name (ARN) of the layout.
|
|
44
|
+
*/
|
|
45
|
+
layoutArn: pulumi.Input<string>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getLayoutOutput = exports.getLayout = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface: Fields to display to the users and Field ordering.
|
|
10
|
+
*/
|
|
11
|
+
function getLayout(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:cases:getLayout", {
|
|
14
|
+
"layoutArn": args.layoutArn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getLayout = getLayout;
|
|
18
|
+
/**
|
|
19
|
+
* A layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface: Fields to display to the users and Field ordering.
|
|
20
|
+
*/
|
|
21
|
+
function getLayoutOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:cases:getLayout", {
|
|
24
|
+
"layoutArn": args.layoutArn,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getLayoutOutput = getLayoutOutput;
|
|
28
|
+
//# sourceMappingURL=getLayout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLayout.js","sourceRoot":"","sources":["../../cases/getLayout.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAiCD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4BAA4B,EAAE;QAC7D,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* A template in the Cases domain. This template is used to define the case object model (that is, to define what data can be captured on cases) in a Cases domain. A template must have a unique name within a domain, and it must reference existing field IDs and layout IDs.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getTemplate(args: GetTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetTemplateResult>;
|
|
8
|
+
export interface GetTemplateArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The Amazon Resource Name (ARN) of the template.
|
|
11
|
+
*/
|
|
12
|
+
templateArn: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetTemplateResult {
|
|
15
|
+
/**
|
|
16
|
+
* The time at which the template was created.
|
|
17
|
+
*/
|
|
18
|
+
readonly createdTime?: string;
|
|
19
|
+
/**
|
|
20
|
+
* A description explaining the purpose and use case for this template. Should indicate what types of cases this template is designed for and any specific workflow it supports.
|
|
21
|
+
*/
|
|
22
|
+
readonly description?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The time at which the template was created or last modified.
|
|
25
|
+
*/
|
|
26
|
+
readonly lastModifiedTime?: string;
|
|
27
|
+
readonly layoutConfiguration?: outputs.cases.TemplateLayoutConfiguration;
|
|
28
|
+
/**
|
|
29
|
+
* A name for the template. It must be unique per domain.
|
|
30
|
+
*/
|
|
31
|
+
readonly name?: string;
|
|
32
|
+
/**
|
|
33
|
+
* A list of fields that must contain a value for a case to be successfully created with this template.
|
|
34
|
+
*/
|
|
35
|
+
readonly requiredFields?: outputs.cases.TemplateRequiredField[];
|
|
36
|
+
/**
|
|
37
|
+
* A list of case rules (also known as case field conditions) on a template.
|
|
38
|
+
*/
|
|
39
|
+
readonly rules?: outputs.cases.TemplateRule[];
|
|
40
|
+
readonly status?: enums.cases.TemplateStatus;
|
|
41
|
+
/**
|
|
42
|
+
* The tags that you attach to this template.
|
|
43
|
+
*/
|
|
44
|
+
readonly tags?: outputs.Tag[];
|
|
45
|
+
/**
|
|
46
|
+
* The Amazon Resource Name (ARN) of the template.
|
|
47
|
+
*/
|
|
48
|
+
readonly templateArn?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The unique identifier of a template.
|
|
51
|
+
*/
|
|
52
|
+
readonly templateId?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* A template in the Cases domain. This template is used to define the case object model (that is, to define what data can be captured on cases) in a Cases domain. A template must have a unique name within a domain, and it must reference existing field IDs and layout IDs.
|
|
56
|
+
*/
|
|
57
|
+
export declare function getTemplateOutput(args: GetTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTemplateResult>;
|
|
58
|
+
export interface GetTemplateOutputArgs {
|
|
59
|
+
/**
|
|
60
|
+
* The Amazon Resource Name (ARN) of the template.
|
|
61
|
+
*/
|
|
62
|
+
templateArn: pulumi.Input<string>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getTemplateOutput = exports.getTemplate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A template in the Cases domain. This template is used to define the case object model (that is, to define what data can be captured on cases) in a Cases domain. A template must have a unique name within a domain, and it must reference existing field IDs and layout IDs.
|
|
10
|
+
*/
|
|
11
|
+
function getTemplate(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:cases:getTemplate", {
|
|
14
|
+
"templateArn": args.templateArn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getTemplate = getTemplate;
|
|
18
|
+
/**
|
|
19
|
+
* A template in the Cases domain. This template is used to define the case object model (that is, to define what data can be captured on cases) in a Cases domain. A template must have a unique name within a domain, and it must reference existing field IDs and layout IDs.
|
|
20
|
+
*/
|
|
21
|
+
function getTemplateOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:cases:getTemplate", {
|
|
24
|
+
"templateArn": args.templateArn,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getTemplateOutput = getTemplateOutput;
|
|
28
|
+
//# sourceMappingURL=getTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTemplate.js","sourceRoot":"","sources":["../../cases/getTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAiDD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
package/cases/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { CaseRuleArgs } from "./caseRule";
|
|
2
|
+
export type CaseRule = import("./caseRule").CaseRule;
|
|
3
|
+
export declare const CaseRule: typeof import("./caseRule").CaseRule;
|
|
4
|
+
export { DomainArgs } from "./domain";
|
|
5
|
+
export type Domain = import("./domain").Domain;
|
|
6
|
+
export declare const Domain: typeof import("./domain").Domain;
|
|
7
|
+
export { FieldArgs } from "./field";
|
|
8
|
+
export type Field = import("./field").Field;
|
|
9
|
+
export declare const Field: typeof import("./field").Field;
|
|
10
|
+
export { GetCaseRuleArgs, GetCaseRuleResult, GetCaseRuleOutputArgs } from "./getCaseRule";
|
|
11
|
+
export declare const getCaseRule: typeof import("./getCaseRule").getCaseRule;
|
|
12
|
+
export declare const getCaseRuleOutput: typeof import("./getCaseRule").getCaseRuleOutput;
|
|
13
|
+
export { GetDomainArgs, GetDomainResult, GetDomainOutputArgs } from "./getDomain";
|
|
14
|
+
export declare const getDomain: typeof import("./getDomain").getDomain;
|
|
15
|
+
export declare const getDomainOutput: typeof import("./getDomain").getDomainOutput;
|
|
16
|
+
export { GetFieldArgs, GetFieldResult, GetFieldOutputArgs } from "./getField";
|
|
17
|
+
export declare const getField: typeof import("./getField").getField;
|
|
18
|
+
export declare const getFieldOutput: typeof import("./getField").getFieldOutput;
|
|
19
|
+
export { GetLayoutArgs, GetLayoutResult, GetLayoutOutputArgs } from "./getLayout";
|
|
20
|
+
export declare const getLayout: typeof import("./getLayout").getLayout;
|
|
21
|
+
export declare const getLayoutOutput: typeof import("./getLayout").getLayoutOutput;
|
|
22
|
+
export { GetTemplateArgs, GetTemplateResult, GetTemplateOutputArgs } from "./getTemplate";
|
|
23
|
+
export declare const getTemplate: typeof import("./getTemplate").getTemplate;
|
|
24
|
+
export declare const getTemplateOutput: typeof import("./getTemplate").getTemplateOutput;
|
|
25
|
+
export { LayoutArgs } from "./layout";
|
|
26
|
+
export type Layout = import("./layout").Layout;
|
|
27
|
+
export declare const Layout: typeof import("./layout").Layout;
|
|
28
|
+
export { TemplateArgs } from "./template";
|
|
29
|
+
export type Template = import("./template").Template;
|
|
30
|
+
export declare const Template: typeof import("./template").Template;
|
|
31
|
+
export * from "../types/enums/cases";
|
package/cases/index.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.Template = exports.Layout = exports.getTemplateOutput = exports.getTemplate = exports.getLayoutOutput = exports.getLayout = exports.getFieldOutput = exports.getField = exports.getDomainOutput = exports.getDomain = exports.getCaseRuleOutput = exports.getCaseRule = exports.Field = exports.Domain = exports.CaseRule = void 0;
|
|
20
|
+
const pulumi = require("@pulumi/pulumi");
|
|
21
|
+
const utilities = require("../utilities");
|
|
22
|
+
exports.CaseRule = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["CaseRule"], () => require("./caseRule"));
|
|
24
|
+
exports.Domain = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["Domain"], () => require("./domain"));
|
|
26
|
+
exports.Field = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["Field"], () => require("./field"));
|
|
28
|
+
exports.getCaseRule = null;
|
|
29
|
+
exports.getCaseRuleOutput = null;
|
|
30
|
+
utilities.lazyLoad(exports, ["getCaseRule", "getCaseRuleOutput"], () => require("./getCaseRule"));
|
|
31
|
+
exports.getDomain = null;
|
|
32
|
+
exports.getDomainOutput = null;
|
|
33
|
+
utilities.lazyLoad(exports, ["getDomain", "getDomainOutput"], () => require("./getDomain"));
|
|
34
|
+
exports.getField = null;
|
|
35
|
+
exports.getFieldOutput = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["getField", "getFieldOutput"], () => require("./getField"));
|
|
37
|
+
exports.getLayout = null;
|
|
38
|
+
exports.getLayoutOutput = null;
|
|
39
|
+
utilities.lazyLoad(exports, ["getLayout", "getLayoutOutput"], () => require("./getLayout"));
|
|
40
|
+
exports.getTemplate = null;
|
|
41
|
+
exports.getTemplateOutput = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["getTemplate", "getTemplateOutput"], () => require("./getTemplate"));
|
|
43
|
+
exports.Layout = null;
|
|
44
|
+
utilities.lazyLoad(exports, ["Layout"], () => require("./layout"));
|
|
45
|
+
exports.Template = null;
|
|
46
|
+
utilities.lazyLoad(exports, ["Template"], () => require("./template"));
|
|
47
|
+
// Export enums:
|
|
48
|
+
__exportStar(require("../types/enums/cases"), exports);
|
|
49
|
+
const _module = {
|
|
50
|
+
version: utilities.getVersion(),
|
|
51
|
+
construct: (name, type, urn) => {
|
|
52
|
+
switch (type) {
|
|
53
|
+
case "aws-native:cases:CaseRule":
|
|
54
|
+
return new exports.CaseRule(name, undefined, { urn });
|
|
55
|
+
case "aws-native:cases:Domain":
|
|
56
|
+
return new exports.Domain(name, undefined, { urn });
|
|
57
|
+
case "aws-native:cases:Field":
|
|
58
|
+
return new exports.Field(name, undefined, { urn });
|
|
59
|
+
case "aws-native:cases:Layout":
|
|
60
|
+
return new exports.Layout(name, undefined, { urn });
|
|
61
|
+
case "aws-native:cases:Template":
|
|
62
|
+
return new exports.Template(name, undefined, { urn });
|
|
63
|
+
default:
|
|
64
|
+
throw new Error(`unknown resource type ${type}`);
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
pulumi.runtime.registerResourceModule("aws-native", "cases", _module);
|
|
69
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cases/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,G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AE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* A layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface: Fields to display to the users and Field ordering.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Layout extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Layout resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Layout;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of Layout. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is Layout;
|
|
22
|
+
readonly content: pulumi.Output<outputs.cases.LayoutContentProperties>;
|
|
23
|
+
/**
|
|
24
|
+
* The time at which the layout was created.
|
|
25
|
+
*/
|
|
26
|
+
readonly createdTime: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The unique identifier of the Cases domain.
|
|
29
|
+
*/
|
|
30
|
+
readonly domainId: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* The time at which the layout was created or last modified.
|
|
33
|
+
*/
|
|
34
|
+
readonly lastModifiedTime: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* The Amazon Resource Name (ARN) of the layout.
|
|
37
|
+
*/
|
|
38
|
+
readonly layoutArn: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The unique identifier of the layout.
|
|
41
|
+
*/
|
|
42
|
+
readonly layoutId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* A descriptive name for the layout. Must be unique within the Cases domain and should clearly indicate the layout's purpose and field organization.
|
|
45
|
+
*/
|
|
46
|
+
readonly name: pulumi.Output<string>;
|
|
47
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Create a Layout resource with the given unique name, arguments, and options.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resource.
|
|
52
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
53
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
54
|
+
*/
|
|
55
|
+
constructor(name: string, args: LayoutArgs, opts?: pulumi.CustomResourceOptions);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The set of arguments for constructing a Layout resource.
|
|
59
|
+
*/
|
|
60
|
+
export interface LayoutArgs {
|
|
61
|
+
content: pulumi.Input<inputs.cases.LayoutContentPropertiesArgs>;
|
|
62
|
+
/**
|
|
63
|
+
* The unique identifier of the Cases domain.
|
|
64
|
+
*/
|
|
65
|
+
domainId?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* A descriptive name for the layout. Must be unique within the Cases domain and should clearly indicate the layout's purpose and field organization.
|
|
68
|
+
*/
|
|
69
|
+
name?: pulumi.Input<string>;
|
|
70
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
71
|
+
}
|
package/cases/layout.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.Layout = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface: Fields to display to the users and Field ordering.
|
|
10
|
+
*/
|
|
11
|
+
class Layout extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Layout resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new Layout(name, undefined, { ...opts, id: id });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Layout. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === Layout.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a Layout resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if (args?.content === undefined && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'content'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["content"] = args?.content;
|
|
48
|
+
resourceInputs["domainId"] = args?.domainId;
|
|
49
|
+
resourceInputs["name"] = args?.name;
|
|
50
|
+
resourceInputs["tags"] = args?.tags;
|
|
51
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["layoutArn"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["layoutId"] = undefined /*out*/;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
resourceInputs["content"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["domainId"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["lastModifiedTime"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["layoutArn"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["layoutId"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
const replaceOnChanges = { replaceOnChanges: ["domainId"] };
|
|
68
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
69
|
+
super(Layout.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.Layout = Layout;
|
|
73
|
+
/** @internal */
|
|
74
|
+
Layout.__pulumiType = 'aws-native:cases:Layout';
|
|
75
|
+
//# sourceMappingURL=layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.js","sourceRoot":"","sources":["../../cases/layout.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,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