@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,144 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing an AWS Audit Manager Assessment Delegation.
|
|
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.AssessmentDelegation("example", {
|
|
13
|
+
* assessmentId: aws_auditmanager_assessment.example.id,
|
|
14
|
+
* roleArn: aws_iam_role.example.arn,
|
|
15
|
+
* roleType: "RESOURCE_OWNER",
|
|
16
|
+
* controlSetId: "example",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* Audit Manager Assessment Delegation can be imported using the `id`, e.g.,
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import aws:auditmanager/assessmentDelegation:AssessmentDelegation example abcdef-123456,arn:aws:iam::012345678901:role/example,example
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class AssessmentDelegation extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing AssessmentDelegation resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AssessmentDelegationState, opts?: pulumi.CustomResourceOptions): AssessmentDelegation;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of AssessmentDelegation. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is AssessmentDelegation;
|
|
44
|
+
/**
|
|
45
|
+
* Identifier for the assessment.
|
|
46
|
+
*/
|
|
47
|
+
readonly assessmentId: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Comment describing the delegation request.
|
|
50
|
+
*/
|
|
51
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Assessment control set name. This value is the control set name used during assessment creation (not the AWS-generated ID). The `_id` suffix on this attribute has been preserved to be consistent with the underlying AWS API.
|
|
54
|
+
*/
|
|
55
|
+
readonly controlSetId: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Unique identifier for the delegation.
|
|
58
|
+
*/
|
|
59
|
+
readonly delegationId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Amazon Resource Name (ARN) of the IAM role.
|
|
62
|
+
*/
|
|
63
|
+
readonly roleArn: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Type of customer persona. For assessment delegation, type must always be `RESOURCE_OWNER`.
|
|
66
|
+
*
|
|
67
|
+
* The following arguments are optional:
|
|
68
|
+
*/
|
|
69
|
+
readonly roleType: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Status of the delegation.
|
|
72
|
+
*/
|
|
73
|
+
readonly status: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a AssessmentDelegation 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: AssessmentDelegationArgs, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering AssessmentDelegation resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface AssessmentDelegationState {
|
|
87
|
+
/**
|
|
88
|
+
* Identifier for the assessment.
|
|
89
|
+
*/
|
|
90
|
+
assessmentId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Comment describing the delegation request.
|
|
93
|
+
*/
|
|
94
|
+
comment?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Assessment control set name. This value is the control set name used during assessment creation (not the AWS-generated ID). The `_id` suffix on this attribute has been preserved to be consistent with the underlying AWS API.
|
|
97
|
+
*/
|
|
98
|
+
controlSetId?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Unique identifier for the delegation.
|
|
101
|
+
*/
|
|
102
|
+
delegationId?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Amazon Resource Name (ARN) of the IAM role.
|
|
105
|
+
*/
|
|
106
|
+
roleArn?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Type of customer persona. For assessment delegation, type must always be `RESOURCE_OWNER`.
|
|
109
|
+
*
|
|
110
|
+
* The following arguments are optional:
|
|
111
|
+
*/
|
|
112
|
+
roleType?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Status of the delegation.
|
|
115
|
+
*/
|
|
116
|
+
status?: pulumi.Input<string>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* The set of arguments for constructing a AssessmentDelegation resource.
|
|
120
|
+
*/
|
|
121
|
+
export interface AssessmentDelegationArgs {
|
|
122
|
+
/**
|
|
123
|
+
* Identifier for the assessment.
|
|
124
|
+
*/
|
|
125
|
+
assessmentId: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Comment describing the delegation request.
|
|
128
|
+
*/
|
|
129
|
+
comment?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Assessment control set name. This value is the control set name used during assessment creation (not the AWS-generated ID). The `_id` suffix on this attribute has been preserved to be consistent with the underlying AWS API.
|
|
132
|
+
*/
|
|
133
|
+
controlSetId: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Amazon Resource Name (ARN) of the IAM role.
|
|
136
|
+
*/
|
|
137
|
+
roleArn: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Type of customer persona. For assessment delegation, type must always be `RESOURCE_OWNER`.
|
|
140
|
+
*
|
|
141
|
+
* The following arguments are optional:
|
|
142
|
+
*/
|
|
143
|
+
roleType: pulumi.Input<string>;
|
|
144
|
+
}
|
|
@@ -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
|
+
exports.AssessmentDelegation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS Audit Manager Assessment Delegation.
|
|
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.AssessmentDelegation("example", {
|
|
19
|
+
* assessmentId: aws_auditmanager_assessment.example.id,
|
|
20
|
+
* roleArn: aws_iam_role.example.arn,
|
|
21
|
+
* roleType: "RESOURCE_OWNER",
|
|
22
|
+
* controlSetId: "example",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Audit Manager Assessment Delegation can be imported using the `id`, e.g.,
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aws:auditmanager/assessmentDelegation:AssessmentDelegation example abcdef-123456,arn:aws:iam::012345678901:role/example,example
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class AssessmentDelegation extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing AssessmentDelegation resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new AssessmentDelegation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of AssessmentDelegation. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === AssessmentDelegation.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["assessmentId"] = state ? state.assessmentId : undefined;
|
|
63
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
64
|
+
resourceInputs["controlSetId"] = state ? state.controlSetId : undefined;
|
|
65
|
+
resourceInputs["delegationId"] = state ? state.delegationId : undefined;
|
|
66
|
+
resourceInputs["roleArn"] = state ? state.roleArn : undefined;
|
|
67
|
+
resourceInputs["roleType"] = state ? state.roleType : undefined;
|
|
68
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
const args = argsOrState;
|
|
72
|
+
if ((!args || args.assessmentId === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'assessmentId'");
|
|
74
|
+
}
|
|
75
|
+
if ((!args || args.controlSetId === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'controlSetId'");
|
|
77
|
+
}
|
|
78
|
+
if ((!args || args.roleArn === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'roleArn'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.roleType === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'roleType'");
|
|
83
|
+
}
|
|
84
|
+
resourceInputs["assessmentId"] = args ? args.assessmentId : undefined;
|
|
85
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
86
|
+
resourceInputs["controlSetId"] = args ? args.controlSetId : undefined;
|
|
87
|
+
resourceInputs["roleArn"] = args ? args.roleArn : undefined;
|
|
88
|
+
resourceInputs["roleType"] = args ? args.roleType : undefined;
|
|
89
|
+
resourceInputs["delegationId"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
super(AssessmentDelegation.__pulumiType, name, resourceInputs, opts);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.AssessmentDelegation = AssessmentDelegation;
|
|
97
|
+
/** @internal */
|
|
98
|
+
AssessmentDelegation.__pulumiType = 'aws:auditmanager/assessmentDelegation:AssessmentDelegation';
|
|
99
|
+
//# sourceMappingURL=assessmentDelegation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assessmentDelegation.js","sourceRoot":"","sources":["../../auditmanager/assessmentDelegation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAyCD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,C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typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aws from "@pulumi/aws";
|
|
11
|
+
*
|
|
12
|
+
* const test = new aws.auditmanager.AssessmentReport("test", {
|
|
13
|
+
* name: "example",
|
|
14
|
+
* assessmentId: aws_auditmanager_assessment.test.id,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* Audit Manager Assessment Reports can be imported using the assessment report `id`, e.g.,
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import aws:auditmanager/assessmentReport:AssessmentReport example abc123-de45
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class AssessmentReport extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing AssessmentReport resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AssessmentReportState, opts?: pulumi.CustomResourceOptions): AssessmentReport;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of AssessmentReport. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is AssessmentReport;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of the assessment to create the report from.
|
|
44
|
+
*
|
|
45
|
+
* The following arguments are optional:
|
|
46
|
+
*/
|
|
47
|
+
readonly assessmentId: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Name of the user who created the assessment report.
|
|
50
|
+
*/
|
|
51
|
+
readonly author: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Description of the assessment report.
|
|
54
|
+
*/
|
|
55
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Name of the assessment report.
|
|
58
|
+
*/
|
|
59
|
+
readonly name: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Current status of the specified assessment report. Valid values are `COMPLETE`, `IN_PROGRESS`, and `FAILED`.
|
|
62
|
+
*/
|
|
63
|
+
readonly status: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Create a AssessmentReport resource with the given unique name, arguments, and options.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resource.
|
|
68
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
69
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
70
|
+
*/
|
|
71
|
+
constructor(name: string, args: AssessmentReportArgs, opts?: pulumi.CustomResourceOptions);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Input properties used for looking up and filtering AssessmentReport resources.
|
|
75
|
+
*/
|
|
76
|
+
export interface AssessmentReportState {
|
|
77
|
+
/**
|
|
78
|
+
* Unique identifier of the assessment to create the report from.
|
|
79
|
+
*
|
|
80
|
+
* The following arguments are optional:
|
|
81
|
+
*/
|
|
82
|
+
assessmentId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Name of the user who created the assessment report.
|
|
85
|
+
*/
|
|
86
|
+
author?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Description of the assessment report.
|
|
89
|
+
*/
|
|
90
|
+
description?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Name of the assessment report.
|
|
93
|
+
*/
|
|
94
|
+
name?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Current status of the specified assessment report. Valid values are `COMPLETE`, `IN_PROGRESS`, and `FAILED`.
|
|
97
|
+
*/
|
|
98
|
+
status?: pulumi.Input<string>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The set of arguments for constructing a AssessmentReport resource.
|
|
102
|
+
*/
|
|
103
|
+
export interface AssessmentReportArgs {
|
|
104
|
+
/**
|
|
105
|
+
* Unique identifier of the assessment to create the report from.
|
|
106
|
+
*
|
|
107
|
+
* The following arguments are optional:
|
|
108
|
+
*/
|
|
109
|
+
assessmentId: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Description of the assessment report.
|
|
112
|
+
*/
|
|
113
|
+
description?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Name of the assessment report.
|
|
116
|
+
*/
|
|
117
|
+
name: pulumi.Input<string>;
|
|
118
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.AssessmentReport = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS Audit Manager Assessment Report.
|
|
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 test = new aws.auditmanager.AssessmentReport("test", {
|
|
19
|
+
* name: "example",
|
|
20
|
+
* assessmentId: aws_auditmanager_assessment.test.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Audit Manager Assessment Reports can be imported using the assessment report `id`, e.g.,
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:auditmanager/assessmentReport:AssessmentReport example abc123-de45
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class AssessmentReport extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing AssessmentReport resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new AssessmentReport(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of AssessmentReport. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === AssessmentReport.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["assessmentId"] = state ? state.assessmentId : undefined;
|
|
61
|
+
resourceInputs["author"] = state ? state.author : undefined;
|
|
62
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
63
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
64
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.assessmentId === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'assessmentId'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'name'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["assessmentId"] = args ? args.assessmentId : undefined;
|
|
75
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
76
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
77
|
+
resourceInputs["author"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(AssessmentReport.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.AssessmentReport = AssessmentReport;
|
|
85
|
+
/** @internal */
|
|
86
|
+
AssessmentReport.__pulumiType = 'aws:auditmanager/assessmentReport:AssessmentReport';
|
|
87
|
+
//# sourceMappingURL=assessmentReport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assessmentReport.js","sourceRoot":"","sources":["../../auditmanager/assessmentReport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,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,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AArFL,4CAsFC;AAxEG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource 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 = new aws.auditmanager.Control("example", {
|
|
15
|
+
* controlMappingSources: [{
|
|
16
|
+
* sourceName: "example",
|
|
17
|
+
* sourceSetUpOption: "Procedural_Controls_Mapping",
|
|
18
|
+
* sourceType: "MANUAL",
|
|
19
|
+
* }],
|
|
20
|
+
* name: "example",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* An Audit Manager Control can be imported using the `id`, e.g.,
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import aws:auditmanager/control:Control example abc123-de45
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class Control extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing Control resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ControlState, opts?: pulumi.CustomResourceOptions): Control;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of Control. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is Control;
|
|
48
|
+
/**
|
|
49
|
+
* Recommended actions to carry out if the control isn't fulfilled.
|
|
50
|
+
*/
|
|
51
|
+
readonly actionPlanInstructions: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Title of the action plan for remediating the control.
|
|
54
|
+
*/
|
|
55
|
+
readonly actionPlanTitle: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* Amazon Resource Name (ARN) of the control.
|
|
58
|
+
* * `control_mapping_sources.*.source_id` - Unique identifier for the source.
|
|
59
|
+
*/
|
|
60
|
+
readonly arn: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Data mapping sources. See `controlMappingSources` below.
|
|
63
|
+
*
|
|
64
|
+
* The following arguments are optional:
|
|
65
|
+
*/
|
|
66
|
+
readonly controlMappingSources: pulumi.Output<outputs.auditmanager.ControlControlMappingSource[] | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Description of the control.
|
|
69
|
+
*/
|
|
70
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the control.
|
|
73
|
+
*/
|
|
74
|
+
readonly name: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* A map of tags to assign to the control. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
77
|
+
*/
|
|
78
|
+
readonly tags: pulumi.Output<{
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
} | undefined>;
|
|
81
|
+
readonly tagsAll: pulumi.Output<{
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
}>;
|
|
84
|
+
/**
|
|
85
|
+
* Steps to follow to determine if the control is satisfied.
|
|
86
|
+
*/
|
|
87
|
+
readonly testingInformation: pulumi.Output<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Type of control, such as a custom control or a standard control.
|
|
90
|
+
*/
|
|
91
|
+
readonly type: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Create a Control resource with the given unique name, arguments, and options.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resource.
|
|
96
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
97
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
98
|
+
*/
|
|
99
|
+
constructor(name: string, args: ControlArgs, opts?: pulumi.CustomResourceOptions);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Input properties used for looking up and filtering Control resources.
|
|
103
|
+
*/
|
|
104
|
+
export interface ControlState {
|
|
105
|
+
/**
|
|
106
|
+
* Recommended actions to carry out if the control isn't fulfilled.
|
|
107
|
+
*/
|
|
108
|
+
actionPlanInstructions?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Title of the action plan for remediating the control.
|
|
111
|
+
*/
|
|
112
|
+
actionPlanTitle?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Amazon Resource Name (ARN) of the control.
|
|
115
|
+
* * `control_mapping_sources.*.source_id` - Unique identifier for the source.
|
|
116
|
+
*/
|
|
117
|
+
arn?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Data mapping sources. See `controlMappingSources` below.
|
|
120
|
+
*
|
|
121
|
+
* The following arguments are optional:
|
|
122
|
+
*/
|
|
123
|
+
controlMappingSources?: pulumi.Input<pulumi.Input<inputs.auditmanager.ControlControlMappingSource>[]>;
|
|
124
|
+
/**
|
|
125
|
+
* Description of the control.
|
|
126
|
+
*/
|
|
127
|
+
description?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Name of the control.
|
|
130
|
+
*/
|
|
131
|
+
name?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* A map of tags to assign to the control. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
134
|
+
*/
|
|
135
|
+
tags?: pulumi.Input<{
|
|
136
|
+
[key: string]: pulumi.Input<string>;
|
|
137
|
+
}>;
|
|
138
|
+
tagsAll?: pulumi.Input<{
|
|
139
|
+
[key: string]: pulumi.Input<string>;
|
|
140
|
+
}>;
|
|
141
|
+
/**
|
|
142
|
+
* Steps to follow to determine if the control is satisfied.
|
|
143
|
+
*/
|
|
144
|
+
testingInformation?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Type of control, such as a custom control or a standard control.
|
|
147
|
+
*/
|
|
148
|
+
type?: pulumi.Input<string>;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* The set of arguments for constructing a Control resource.
|
|
152
|
+
*/
|
|
153
|
+
export interface ControlArgs {
|
|
154
|
+
/**
|
|
155
|
+
* Recommended actions to carry out if the control isn't fulfilled.
|
|
156
|
+
*/
|
|
157
|
+
actionPlanInstructions?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Title of the action plan for remediating the control.
|
|
160
|
+
*/
|
|
161
|
+
actionPlanTitle?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Data mapping sources. See `controlMappingSources` below.
|
|
164
|
+
*
|
|
165
|
+
* The following arguments are optional:
|
|
166
|
+
*/
|
|
167
|
+
controlMappingSources?: pulumi.Input<pulumi.Input<inputs.auditmanager.ControlControlMappingSource>[]>;
|
|
168
|
+
/**
|
|
169
|
+
* Description of the control.
|
|
170
|
+
*/
|
|
171
|
+
description?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Name of the control.
|
|
174
|
+
*/
|
|
175
|
+
name: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* A map of tags to assign to the control. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
178
|
+
*/
|
|
179
|
+
tags?: pulumi.Input<{
|
|
180
|
+
[key: string]: pulumi.Input<string>;
|
|
181
|
+
}>;
|
|
182
|
+
/**
|
|
183
|
+
* Steps to follow to determine if the control is satisfied.
|
|
184
|
+
*/
|
|
185
|
+
testingInformation?: pulumi.Input<string>;
|
|
186
|
+
}
|