@pulumi/aws 6.0.0-alpha.1 → 6.0.0-alpha.2
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/README.md +4 -4
- package/appintegrations/dataIntegration.d.ts +2 -1
- package/appintegrations/dataIntegration.js +4 -0
- package/appintegrations/dataIntegration.js.map +1 -1
- package/auditmanager/accountRegistration.d.ts +109 -0
- package/auditmanager/accountRegistration.js +84 -0
- package/auditmanager/accountRegistration.js.map +1 -0
- package/auditmanager/assessment.d.ts +204 -0
- package/auditmanager/assessment.js +118 -0
- package/auditmanager/assessment.js.map +1 -0
- package/auditmanager/assessmentDelegation.d.ts +144 -0
- package/auditmanager/assessmentDelegation.js +99 -0
- package/auditmanager/assessmentDelegation.js.map +1 -0
- package/auditmanager/assessmentReport.d.ts +118 -0
- package/auditmanager/assessmentReport.js +87 -0
- package/auditmanager/assessmentReport.js.map +1 -0
- package/auditmanager/control.d.ts +186 -0
- package/auditmanager/control.js +98 -0
- package/auditmanager/control.js.map +1 -0
- package/auditmanager/framework.d.ts +163 -0
- package/auditmanager/framework.js +95 -0
- package/auditmanager/framework.js.map +1 -0
- package/auditmanager/frameworkShare.d.ts +123 -0
- package/auditmanager/frameworkShare.js +91 -0
- package/auditmanager/frameworkShare.js.map +1 -0
- package/auditmanager/getControl.d.ts +146 -0
- package/auditmanager/getControl.js +117 -0
- package/auditmanager/getControl.js.map +1 -0
- package/auditmanager/getFramework.d.ts +74 -0
- package/auditmanager/getFramework.js +53 -0
- package/auditmanager/getFramework.js.map +1 -0
- package/auditmanager/index.d.ts +30 -0
- package/auditmanager/index.js +63 -0
- package/auditmanager/index.js.map +1 -0
- package/auditmanager/organizationAdminAccountRegistration.d.ts +77 -0
- package/auditmanager/organizationAdminAccountRegistration.js +75 -0
- package/auditmanager/organizationAdminAccountRegistration.js.map +1 -0
- package/chime/sdkvoiceVoiceProfileDomain.d.ts +2 -1
- package/chime/sdkvoiceVoiceProfileDomain.js +4 -0
- package/chime/sdkvoiceVoiceProfileDomain.js.map +1 -1
- package/cloudfront/fieldLevelEncryptionProfile.d.ts +1 -0
- package/cloudfront/fieldLevelEncryptionProfile.js +1 -0
- package/cloudfront/fieldLevelEncryptionProfile.js.map +1 -1
- package/cloudfront/keyGroup.d.ts +1 -0
- package/cloudfront/keyGroup.js +1 -0
- package/cloudfront/keyGroup.js.map +1 -1
- package/cloudfront/publicKey.d.ts +1 -0
- package/cloudfront/publicKey.js +1 -0
- package/cloudfront/publicKey.js.map +1 -1
- package/directoryservice/index.d.ts +3 -0
- package/directoryservice/index.js +6 -1
- package/directoryservice/index.js.map +1 -1
- package/directoryservice/trust.d.ts +282 -0
- package/directoryservice/trust.js +166 -0
- package/directoryservice/trust.js.map +1 -0
- package/ec2/securityGroup.d.ts +1 -1
- package/ec2/securityGroup.js +1 -1
- package/ec2/securityGroupRule.d.ts +2 -2
- package/ec2/securityGroupRule.js +2 -2
- package/emrcontainers/jobTemplate.d.ts +11 -8
- package/emrcontainers/jobTemplate.js +13 -7
- package/emrcontainers/jobTemplate.js.map +1 -1
- package/glue/dataQualityRuleset.d.ts +8 -2
- package/glue/dataQualityRuleset.js +10 -1
- package/glue/dataQualityRuleset.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +10 -4
- package/index.js.map +1 -1
- package/medialive/index.d.ts +3 -0
- package/medialive/index.js +6 -1
- package/medialive/index.js.map +1 -1
- package/medialive/multiplexProgram.d.ts +130 -0
- package/medialive/multiplexProgram.js +109 -0
- package/medialive/multiplexProgram.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/quicksight/folderMembership.d.ts +115 -0
- package/quicksight/folderMembership.js +89 -0
- package/quicksight/folderMembership.js.map +1 -0
- package/quicksight/iamPolicyAssignment.d.ts +152 -0
- package/quicksight/iamPolicyAssignment.js +95 -0
- package/quicksight/iamPolicyAssignment.js.map +1 -0
- package/quicksight/index.d.ts +21 -0
- package/quicksight/index.js +36 -1
- package/quicksight/index.js.map +1 -1
- package/quicksight/ingestion.d.ts +131 -0
- package/quicksight/ingestion.js +93 -0
- package/quicksight/ingestion.js.map +1 -0
- package/quicksight/namespace.d.ts +158 -0
- package/quicksight/namespace.js +89 -0
- package/quicksight/namespace.js.map +1 -0
- package/quicksight/refreshSchedule.d.ts +130 -0
- package/quicksight/refreshSchedule.js +93 -0
- package/quicksight/refreshSchedule.js.map +1 -0
- package/quicksight/templateAlias.d.ts +123 -0
- package/quicksight/templateAlias.js +91 -0
- package/quicksight/templateAlias.js.map +1 -0
- package/quicksight/vpcConnection.d.ts +236 -0
- package/quicksight/vpcConnection.js +145 -0
- package/quicksight/vpcConnection.js.map +1 -0
- package/rds/exportTask.d.ts +299 -0
- package/rds/exportTask.js +198 -0
- package/rds/exportTask.js.map +1 -0
- package/rds/index.d.ts +3 -0
- package/rds/index.js +6 -1
- package/rds/index.js.map +1 -1
- package/resourceexplorer/index.d.ts +6 -0
- package/resourceexplorer/index.js +27 -0
- package/resourceexplorer/index.js.map +1 -0
- package/resourceexplorer/index_.d.ts +111 -0
- package/resourceexplorer/index_.js +80 -0
- package/resourceexplorer/index_.js.map +1 -0
- package/resourceexplorer/view.d.ts +155 -0
- package/resourceexplorer/view.js +95 -0
- package/resourceexplorer/view.js.map +1 -0
- package/route53/cidrCollection.d.ts +84 -0
- package/route53/cidrCollection.js +76 -0
- package/route53/cidrCollection.js.map +1 -0
- package/route53/cidrLocation.d.ts +100 -0
- package/route53/cidrLocation.js +90 -0
- package/route53/cidrLocation.js.map +1 -0
- package/route53/index.d.ts +6 -0
- package/route53/index.js +11 -1
- package/route53/index.js.map +1 -1
- package/types/input.d.ts +345 -2
- package/types/output.d.ts +298 -2
- package/vpc/getSecurityGroupRule.d.ts +117 -0
- package/vpc/getSecurityGroupRule.js +49 -0
- package/vpc/getSecurityGroupRule.js.map +1 -0
- package/vpc/getSecurityGroupRules.d.ts +91 -0
- package/vpc/getSecurityGroupRules.js +55 -0
- package/vpc/getSecurityGroupRules.js.map +1 -0
- package/vpc/index.d.ts +12 -0
- package/vpc/index.js +33 -0
- package/vpc/index.js.map +1 -0
- package/vpc/securityGroupEgressRule.d.ts +223 -0
- package/vpc/securityGroupEgressRule.js +109 -0
- package/vpc/securityGroupEgressRule.js.map +1 -0
- package/vpc/securityGroupIngressRule.d.ts +223 -0
- package/vpc/securityGroupIngressRule.js +109 -0
- package/vpc/securityGroupIngressRule.js.map +1 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Data source for managing an AWS Audit Manager Control.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
* ### Basic Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = aws.auditmanager.getControl({
|
|
15
|
+
* name: "1. Risk Management",
|
|
16
|
+
* type: "Standard",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
* ### With Framework Resource
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as aws from "@pulumi/aws";
|
|
24
|
+
*
|
|
25
|
+
* const exampleControl = aws.auditmanager.getControl({
|
|
26
|
+
* name: "1. Risk Management",
|
|
27
|
+
* type: "Standard",
|
|
28
|
+
* });
|
|
29
|
+
* const example2 = aws.auditmanager.getControl({
|
|
30
|
+
* name: "2. Personnel",
|
|
31
|
+
* type: "Standard",
|
|
32
|
+
* });
|
|
33
|
+
* const exampleFramework = new aws.auditmanager.Framework("exampleFramework", {
|
|
34
|
+
* name: "example",
|
|
35
|
+
* controlSets: [
|
|
36
|
+
* {
|
|
37
|
+
* name: "example",
|
|
38
|
+
* controls: [{
|
|
39
|
+
* id: exampleControl.then(exampleControl => exampleControl.id),
|
|
40
|
+
* }],
|
|
41
|
+
* },
|
|
42
|
+
* {
|
|
43
|
+
* name: "example2",
|
|
44
|
+
* controls: [{
|
|
45
|
+
* id: example2.then(example2 => example2.id),
|
|
46
|
+
* }],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare function getControl(args: GetControlArgs, opts?: pulumi.InvokeOptions): Promise<GetControlResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getControl.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetControlArgs {
|
|
57
|
+
controlMappingSources?: inputs.auditmanager.GetControlControlMappingSource[];
|
|
58
|
+
/**
|
|
59
|
+
* Name of the control.
|
|
60
|
+
*/
|
|
61
|
+
name: string;
|
|
62
|
+
/**
|
|
63
|
+
* Type of control. Valid values are `Custom` and `Standard`.
|
|
64
|
+
*/
|
|
65
|
+
type: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A collection of values returned by getControl.
|
|
69
|
+
*/
|
|
70
|
+
export interface GetControlResult {
|
|
71
|
+
readonly actionPlanInstructions: string;
|
|
72
|
+
readonly actionPlanTitle: string;
|
|
73
|
+
readonly arn: string;
|
|
74
|
+
readonly controlMappingSources?: outputs.auditmanager.GetControlControlMappingSource[];
|
|
75
|
+
readonly description: string;
|
|
76
|
+
readonly id: string;
|
|
77
|
+
readonly name: string;
|
|
78
|
+
readonly tags: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
readonly testingInformation: string;
|
|
82
|
+
readonly type: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Data source for managing an AWS Audit Manager Control.
|
|
86
|
+
*
|
|
87
|
+
* ## Example Usage
|
|
88
|
+
* ### Basic Usage
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as aws from "@pulumi/aws";
|
|
93
|
+
*
|
|
94
|
+
* const example = aws.auditmanager.getControl({
|
|
95
|
+
* name: "1. Risk Management",
|
|
96
|
+
* type: "Standard",
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
* ### With Framework Resource
|
|
100
|
+
*
|
|
101
|
+
* ```typescript
|
|
102
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
103
|
+
* import * as aws from "@pulumi/aws";
|
|
104
|
+
*
|
|
105
|
+
* const exampleControl = aws.auditmanager.getControl({
|
|
106
|
+
* name: "1. Risk Management",
|
|
107
|
+
* type: "Standard",
|
|
108
|
+
* });
|
|
109
|
+
* const example2 = aws.auditmanager.getControl({
|
|
110
|
+
* name: "2. Personnel",
|
|
111
|
+
* type: "Standard",
|
|
112
|
+
* });
|
|
113
|
+
* const exampleFramework = new aws.auditmanager.Framework("exampleFramework", {
|
|
114
|
+
* name: "example",
|
|
115
|
+
* controlSets: [
|
|
116
|
+
* {
|
|
117
|
+
* name: "example",
|
|
118
|
+
* controls: [{
|
|
119
|
+
* id: exampleControl.then(exampleControl => exampleControl.id),
|
|
120
|
+
* }],
|
|
121
|
+
* },
|
|
122
|
+
* {
|
|
123
|
+
* name: "example2",
|
|
124
|
+
* controls: [{
|
|
125
|
+
* id: example2.then(example2 => example2.id),
|
|
126
|
+
* }],
|
|
127
|
+
* },
|
|
128
|
+
* ],
|
|
129
|
+
* });
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
export declare function getControlOutput(args: GetControlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetControlResult>;
|
|
133
|
+
/**
|
|
134
|
+
* A collection of arguments for invoking getControl.
|
|
135
|
+
*/
|
|
136
|
+
export interface GetControlOutputArgs {
|
|
137
|
+
controlMappingSources?: pulumi.Input<pulumi.Input<inputs.auditmanager.GetControlControlMappingSourceArgs>[]>;
|
|
138
|
+
/**
|
|
139
|
+
* Name of the control.
|
|
140
|
+
*/
|
|
141
|
+
name: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Type of control. Valid values are `Custom` and `Standard`.
|
|
144
|
+
*/
|
|
145
|
+
type: pulumi.Input<string>;
|
|
146
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
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.getControlOutput = exports.getControl = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for managing an AWS Audit Manager Control.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = aws.auditmanager.getControl({
|
|
19
|
+
* name: "1. Risk Management",
|
|
20
|
+
* type: "Standard",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
* ### With Framework Resource
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as aws from "@pulumi/aws";
|
|
28
|
+
*
|
|
29
|
+
* const exampleControl = aws.auditmanager.getControl({
|
|
30
|
+
* name: "1. Risk Management",
|
|
31
|
+
* type: "Standard",
|
|
32
|
+
* });
|
|
33
|
+
* const example2 = aws.auditmanager.getControl({
|
|
34
|
+
* name: "2. Personnel",
|
|
35
|
+
* type: "Standard",
|
|
36
|
+
* });
|
|
37
|
+
* const exampleFramework = new aws.auditmanager.Framework("exampleFramework", {
|
|
38
|
+
* name: "example",
|
|
39
|
+
* controlSets: [
|
|
40
|
+
* {
|
|
41
|
+
* name: "example",
|
|
42
|
+
* controls: [{
|
|
43
|
+
* id: exampleControl.then(exampleControl => exampleControl.id),
|
|
44
|
+
* }],
|
|
45
|
+
* },
|
|
46
|
+
* {
|
|
47
|
+
* name: "example2",
|
|
48
|
+
* controls: [{
|
|
49
|
+
* id: example2.then(example2 => example2.id),
|
|
50
|
+
* }],
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
function getControl(args, opts) {
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
58
|
+
return pulumi.runtime.invoke("aws:auditmanager/getControl:getControl", {
|
|
59
|
+
"controlMappingSources": args.controlMappingSources,
|
|
60
|
+
"name": args.name,
|
|
61
|
+
"type": args.type,
|
|
62
|
+
}, opts);
|
|
63
|
+
}
|
|
64
|
+
exports.getControl = getControl;
|
|
65
|
+
/**
|
|
66
|
+
* Data source for managing an AWS Audit Manager Control.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
* ### Basic Usage
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as aws from "@pulumi/aws";
|
|
74
|
+
*
|
|
75
|
+
* const example = aws.auditmanager.getControl({
|
|
76
|
+
* name: "1. Risk Management",
|
|
77
|
+
* type: "Standard",
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
* ### With Framework Resource
|
|
81
|
+
*
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as aws from "@pulumi/aws";
|
|
85
|
+
*
|
|
86
|
+
* const exampleControl = aws.auditmanager.getControl({
|
|
87
|
+
* name: "1. Risk Management",
|
|
88
|
+
* type: "Standard",
|
|
89
|
+
* });
|
|
90
|
+
* const example2 = aws.auditmanager.getControl({
|
|
91
|
+
* name: "2. Personnel",
|
|
92
|
+
* type: "Standard",
|
|
93
|
+
* });
|
|
94
|
+
* const exampleFramework = new aws.auditmanager.Framework("exampleFramework", {
|
|
95
|
+
* name: "example",
|
|
96
|
+
* controlSets: [
|
|
97
|
+
* {
|
|
98
|
+
* name: "example",
|
|
99
|
+
* controls: [{
|
|
100
|
+
* id: exampleControl.then(exampleControl => exampleControl.id),
|
|
101
|
+
* }],
|
|
102
|
+
* },
|
|
103
|
+
* {
|
|
104
|
+
* name: "example2",
|
|
105
|
+
* controls: [{
|
|
106
|
+
* id: example2.then(example2 => example2.id),
|
|
107
|
+
* }],
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
function getControlOutput(args, opts) {
|
|
114
|
+
return pulumi.output(args).apply((a) => getControl(a, opts));
|
|
115
|
+
}
|
|
116
|
+
exports.getControlOutput = getControlOutput;
|
|
117
|
+
//# sourceMappingURL=getControl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getControl.js","sourceRoot":"","sources":["../../auditmanager/getControl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAgCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Data source for managing an AWS Audit Manager Framework.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
* ### Basic Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = aws.auditmanager.getFramework({
|
|
15
|
+
* frameworkType: "Standard",
|
|
16
|
+
* name: "Essential Eight",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getFramework(args: GetFrameworkArgs, opts?: pulumi.InvokeOptions): Promise<GetFrameworkResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getFramework.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetFrameworkArgs {
|
|
25
|
+
controlSets?: inputs.auditmanager.GetFrameworkControlSet[];
|
|
26
|
+
frameworkType: string;
|
|
27
|
+
/**
|
|
28
|
+
* Name of the framework.
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getFramework.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetFrameworkResult {
|
|
36
|
+
readonly arn: string;
|
|
37
|
+
readonly complianceType: string;
|
|
38
|
+
readonly controlSets?: outputs.auditmanager.GetFrameworkControlSet[];
|
|
39
|
+
readonly description: string;
|
|
40
|
+
readonly frameworkType: string;
|
|
41
|
+
readonly id: string;
|
|
42
|
+
readonly name: string;
|
|
43
|
+
readonly tags: {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Data source for managing an AWS Audit Manager Framework.
|
|
49
|
+
*
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
* ### Basic Usage
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as aws from "@pulumi/aws";
|
|
56
|
+
*
|
|
57
|
+
* const example = aws.auditmanager.getFramework({
|
|
58
|
+
* frameworkType: "Standard",
|
|
59
|
+
* name: "Essential Eight",
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function getFrameworkOutput(args: GetFrameworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFrameworkResult>;
|
|
64
|
+
/**
|
|
65
|
+
* A collection of arguments for invoking getFramework.
|
|
66
|
+
*/
|
|
67
|
+
export interface GetFrameworkOutputArgs {
|
|
68
|
+
controlSets?: pulumi.Input<pulumi.Input<inputs.auditmanager.GetFrameworkControlSetArgs>[]>;
|
|
69
|
+
frameworkType: pulumi.Input<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Name of the framework.
|
|
72
|
+
*/
|
|
73
|
+
name: pulumi.Input<string>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.getFrameworkOutput = exports.getFramework = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for managing an AWS Audit Manager Framework.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = aws.auditmanager.getFramework({
|
|
19
|
+
* frameworkType: "Standard",
|
|
20
|
+
* name: "Essential Eight",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getFramework(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("aws:auditmanager/getFramework:getFramework", {
|
|
27
|
+
"controlSets": args.controlSets,
|
|
28
|
+
"frameworkType": args.frameworkType,
|
|
29
|
+
"name": args.name,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getFramework = getFramework;
|
|
33
|
+
/**
|
|
34
|
+
* Data source for managing an AWS Audit Manager Framework.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
* ### Basic Usage
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as aws from "@pulumi/aws";
|
|
42
|
+
*
|
|
43
|
+
* const example = aws.auditmanager.getFramework({
|
|
44
|
+
* frameworkType: "Standard",
|
|
45
|
+
* name: "Essential Eight",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
function getFrameworkOutput(args, opts) {
|
|
50
|
+
return pulumi.output(args).apply((a) => getFramework(a, opts));
|
|
51
|
+
}
|
|
52
|
+
exports.getFrameworkOutput = getFrameworkOutput;
|
|
53
|
+
//# sourceMappingURL=getFramework.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFramework.js","sourceRoot":"","sources":["../../auditmanager/getFramework.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AA2BD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export { AccountRegistrationArgs, AccountRegistrationState } from "./accountRegistration";
|
|
2
|
+
export type AccountRegistration = import("./accountRegistration").AccountRegistration;
|
|
3
|
+
export declare const AccountRegistration: typeof import("./accountRegistration").AccountRegistration;
|
|
4
|
+
export { AssessmentArgs, AssessmentState } from "./assessment";
|
|
5
|
+
export type Assessment = import("./assessment").Assessment;
|
|
6
|
+
export declare const Assessment: typeof import("./assessment").Assessment;
|
|
7
|
+
export { AssessmentDelegationArgs, AssessmentDelegationState } from "./assessmentDelegation";
|
|
8
|
+
export type AssessmentDelegation = import("./assessmentDelegation").AssessmentDelegation;
|
|
9
|
+
export declare const AssessmentDelegation: typeof import("./assessmentDelegation").AssessmentDelegation;
|
|
10
|
+
export { AssessmentReportArgs, AssessmentReportState } from "./assessmentReport";
|
|
11
|
+
export type AssessmentReport = import("./assessmentReport").AssessmentReport;
|
|
12
|
+
export declare const AssessmentReport: typeof import("./assessmentReport").AssessmentReport;
|
|
13
|
+
export { ControlArgs, ControlState } from "./control";
|
|
14
|
+
export type Control = import("./control").Control;
|
|
15
|
+
export declare const Control: typeof import("./control").Control;
|
|
16
|
+
export { FrameworkArgs, FrameworkState } from "./framework";
|
|
17
|
+
export type Framework = import("./framework").Framework;
|
|
18
|
+
export declare const Framework: typeof import("./framework").Framework;
|
|
19
|
+
export { FrameworkShareArgs, FrameworkShareState } from "./frameworkShare";
|
|
20
|
+
export type FrameworkShare = import("./frameworkShare").FrameworkShare;
|
|
21
|
+
export declare const FrameworkShare: typeof import("./frameworkShare").FrameworkShare;
|
|
22
|
+
export { GetControlArgs, GetControlResult, GetControlOutputArgs } from "./getControl";
|
|
23
|
+
export declare const getControl: typeof import("./getControl").getControl;
|
|
24
|
+
export declare const getControlOutput: typeof import("./getControl").getControlOutput;
|
|
25
|
+
export { GetFrameworkArgs, GetFrameworkResult, GetFrameworkOutputArgs } from "./getFramework";
|
|
26
|
+
export declare const getFramework: typeof import("./getFramework").getFramework;
|
|
27
|
+
export declare const getFrameworkOutput: typeof import("./getFramework").getFrameworkOutput;
|
|
28
|
+
export { OrganizationAdminAccountRegistrationArgs, OrganizationAdminAccountRegistrationState } from "./organizationAdminAccountRegistration";
|
|
29
|
+
export type OrganizationAdminAccountRegistration = import("./organizationAdminAccountRegistration").OrganizationAdminAccountRegistration;
|
|
30
|
+
export declare const OrganizationAdminAccountRegistration: typeof import("./organizationAdminAccountRegistration").OrganizationAdminAccountRegistration;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.OrganizationAdminAccountRegistration = exports.getFrameworkOutput = exports.getFramework = exports.getControlOutput = exports.getControl = exports.FrameworkShare = exports.Framework = exports.Control = exports.AssessmentReport = exports.AssessmentDelegation = exports.Assessment = exports.AccountRegistration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.AccountRegistration = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["AccountRegistration"], () => require("./accountRegistration"));
|
|
10
|
+
exports.Assessment = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["Assessment"], () => require("./assessment"));
|
|
12
|
+
exports.AssessmentDelegation = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["AssessmentDelegation"], () => require("./assessmentDelegation"));
|
|
14
|
+
exports.AssessmentReport = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["AssessmentReport"], () => require("./assessmentReport"));
|
|
16
|
+
exports.Control = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["Control"], () => require("./control"));
|
|
18
|
+
exports.Framework = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["Framework"], () => require("./framework"));
|
|
20
|
+
exports.FrameworkShare = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["FrameworkShare"], () => require("./frameworkShare"));
|
|
22
|
+
exports.getControl = null;
|
|
23
|
+
exports.getControlOutput = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["getControl", "getControlOutput"], () => require("./getControl"));
|
|
25
|
+
exports.getFramework = null;
|
|
26
|
+
exports.getFrameworkOutput = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["getFramework", "getFrameworkOutput"], () => require("./getFramework"));
|
|
28
|
+
exports.OrganizationAdminAccountRegistration = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["OrganizationAdminAccountRegistration"], () => require("./organizationAdminAccountRegistration"));
|
|
30
|
+
const _module = {
|
|
31
|
+
version: utilities.getVersion(),
|
|
32
|
+
construct: (name, type, urn) => {
|
|
33
|
+
switch (type) {
|
|
34
|
+
case "aws:auditmanager/accountRegistration:AccountRegistration":
|
|
35
|
+
return new exports.AccountRegistration(name, undefined, { urn });
|
|
36
|
+
case "aws:auditmanager/assessment:Assessment":
|
|
37
|
+
return new exports.Assessment(name, undefined, { urn });
|
|
38
|
+
case "aws:auditmanager/assessmentDelegation:AssessmentDelegation":
|
|
39
|
+
return new exports.AssessmentDelegation(name, undefined, { urn });
|
|
40
|
+
case "aws:auditmanager/assessmentReport:AssessmentReport":
|
|
41
|
+
return new exports.AssessmentReport(name, undefined, { urn });
|
|
42
|
+
case "aws:auditmanager/control:Control":
|
|
43
|
+
return new exports.Control(name, undefined, { urn });
|
|
44
|
+
case "aws:auditmanager/framework:Framework":
|
|
45
|
+
return new exports.Framework(name, undefined, { urn });
|
|
46
|
+
case "aws:auditmanager/frameworkShare:FrameworkShare":
|
|
47
|
+
return new exports.FrameworkShare(name, undefined, { urn });
|
|
48
|
+
case "aws:auditmanager/organizationAdminAccountRegistration:OrganizationAdminAccountRegistration":
|
|
49
|
+
return new exports.OrganizationAdminAccountRegistration(name, undefined, { urn });
|
|
50
|
+
default:
|
|
51
|
+
throw new Error(`unknown resource type ${type}`);
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
pulumi.runtime.registerResourceModule("aws", "auditmanager/accountRegistration", _module);
|
|
56
|
+
pulumi.runtime.registerResourceModule("aws", "auditmanager/assessment", _module);
|
|
57
|
+
pulumi.runtime.registerResourceModule("aws", "auditmanager/assessmentDelegation", _module);
|
|
58
|
+
pulumi.runtime.registerResourceModule("aws", "auditmanager/assessmentReport", _module);
|
|
59
|
+
pulumi.runtime.registerResourceModule("aws", "auditmanager/control", _module);
|
|
60
|
+
pulumi.runtime.registerResourceModule("aws", "auditmanager/framework", _module);
|
|
61
|
+
pulumi.runtime.registerResourceModule("aws", "auditmanager/frameworkShare", _module);
|
|
62
|
+
pulumi.runtime.registerResourceModule("aws", "auditmanager/organizationAdminAccountRegistration", _module);
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../auditmanager/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAIhF,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAIlF,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CA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AE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mDAAmD,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing AWS Audit Manager Organization Admin Account Registration.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
* ### Basic Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const example = new aws.auditmanager.OrganizationAdminAccountRegistration("example", {adminAccountId: "012345678901"});
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* ## Import
|
|
16
|
+
*
|
|
17
|
+
* Audit Manager Organization Admin Account Registration can be imported using the `id`, e.g.,
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import aws:auditmanager/organizationAdminAccountRegistration:OrganizationAdminAccountRegistration example 012345678901
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class OrganizationAdminAccountRegistration extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing OrganizationAdminAccountRegistration resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationAdminAccountRegistrationState, opts?: pulumi.CustomResourceOptions): OrganizationAdminAccountRegistration;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of OrganizationAdminAccountRegistration. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is OrganizationAdminAccountRegistration;
|
|
39
|
+
/**
|
|
40
|
+
* Identifier for the organization administrator account.
|
|
41
|
+
*/
|
|
42
|
+
readonly adminAccountId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Identifier for the organization.
|
|
45
|
+
*/
|
|
46
|
+
readonly organizationId: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Create a OrganizationAdminAccountRegistration resource with the given unique name, arguments, and options.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resource.
|
|
51
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
52
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
53
|
+
*/
|
|
54
|
+
constructor(name: string, args: OrganizationAdminAccountRegistrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Input properties used for looking up and filtering OrganizationAdminAccountRegistration resources.
|
|
58
|
+
*/
|
|
59
|
+
export interface OrganizationAdminAccountRegistrationState {
|
|
60
|
+
/**
|
|
61
|
+
* Identifier for the organization administrator account.
|
|
62
|
+
*/
|
|
63
|
+
adminAccountId?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Identifier for the organization.
|
|
66
|
+
*/
|
|
67
|
+
organizationId?: pulumi.Input<string>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* The set of arguments for constructing a OrganizationAdminAccountRegistration resource.
|
|
71
|
+
*/
|
|
72
|
+
export interface OrganizationAdminAccountRegistrationArgs {
|
|
73
|
+
/**
|
|
74
|
+
* Identifier for the organization administrator account.
|
|
75
|
+
*/
|
|
76
|
+
adminAccountId: pulumi.Input<string>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.OrganizationAdminAccountRegistration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing AWS Audit Manager Organization Admin Account Registration.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = new aws.auditmanager.OrganizationAdminAccountRegistration("example", {adminAccountId: "012345678901"});
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Audit Manager Organization Admin Account Registration can be imported using the `id`, e.g.,
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import aws:auditmanager/organizationAdminAccountRegistration:OrganizationAdminAccountRegistration example 012345678901
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class OrganizationAdminAccountRegistration extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing OrganizationAdminAccountRegistration resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name, id, state, opts) {
|
|
40
|
+
return new OrganizationAdminAccountRegistration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of OrganizationAdminAccountRegistration. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj) {
|
|
47
|
+
if (obj === undefined || obj === null) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return obj['__pulumiType'] === OrganizationAdminAccountRegistration.__pulumiType;
|
|
51
|
+
}
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["adminAccountId"] = state ? state.adminAccountId : undefined;
|
|
58
|
+
resourceInputs["organizationId"] = state ? state.organizationId : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
if ((!args || args.adminAccountId === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'adminAccountId'");
|
|
64
|
+
}
|
|
65
|
+
resourceInputs["adminAccountId"] = args ? args.adminAccountId : undefined;
|
|
66
|
+
resourceInputs["organizationId"] = undefined /*out*/;
|
|
67
|
+
}
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
+
super(OrganizationAdminAccountRegistration.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.OrganizationAdminAccountRegistration = OrganizationAdminAccountRegistration;
|
|
73
|
+
/** @internal */
|
|
74
|
+
OrganizationAdminAccountRegistration.__pulumiType = 'aws:auditmanager/organizationAdminAccountRegistration:OrganizationAdminAccountRegistration';
|
|
75
|
+
//# sourceMappingURL=organizationAdminAccountRegistration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationAdminAccountRegistration.js","sourceRoot":"","sources":["../../auditmanager/organizationAdminAccountRegistration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,oCAAqC,SAAQ,MAAM,CAAC,cAAc;IAC3E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiD,EAAE,IAAmC;QAC/I,OAAO,IAAI,oCAAoC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3F,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,oCAAoC,CAAC,YAAY,CAAC;IACrF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAkG,EAAE,IAAmC;QAC7J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoE,CAAC;YACnF,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK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