@pulumi/aws-native 0.108.0 → 0.108.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/apigateway/getVpcLink.d.ts +8 -8
  2. package/apigateway/getVpcLink.js +2 -2
  3. package/apigateway/vpcLink.d.ts +10 -10
  4. package/apigateway/vpcLink.js +1 -1
  5. package/ec2/customerGateway.d.ts +2 -0
  6. package/ec2/customerGateway.js +3 -1
  7. package/ec2/customerGateway.js.map +1 -1
  8. package/ec2/getVolume.d.ts +32 -12
  9. package/ec2/getVolume.js +32 -12
  10. package/ec2/getVolume.js.map +1 -1
  11. package/ec2/getVpcEndpoint.d.ts +14 -6
  12. package/ec2/getVpcEndpoint.js +14 -6
  13. package/ec2/getVpcEndpoint.js.map +1 -1
  14. package/ec2/volume.d.ts +16 -6
  15. package/ec2/volume.js +16 -6
  16. package/ec2/volume.js.map +1 -1
  17. package/ec2/vpcEndpoint.d.ts +7 -3
  18. package/ec2/vpcEndpoint.js +7 -3
  19. package/ec2/vpcEndpoint.js.map +1 -1
  20. package/eks/addon.d.ts +8 -0
  21. package/eks/addon.js +2 -0
  22. package/eks/addon.js.map +1 -1
  23. package/iam/getRole.d.ts +26 -12
  24. package/iam/getRole.js.map +1 -1
  25. package/iam/role.d.ts +34 -16
  26. package/iam/role.js.map +1 -1
  27. package/mediapackagev2/getOriginEndpoint.d.ts +4 -0
  28. package/mediapackagev2/getOriginEndpoint.js.map +1 -1
  29. package/mediapackagev2/originEndpoint.d.ts +8 -0
  30. package/mediapackagev2/originEndpoint.js +2 -0
  31. package/mediapackagev2/originEndpoint.js.map +1 -1
  32. package/package.json +3 -3
  33. package/package.json.dev +2 -2
  34. package/rolesanywhere/getProfile.d.ts +1 -0
  35. package/rolesanywhere/getProfile.js.map +1 -1
  36. package/rolesanywhere/profile.d.ts +2 -0
  37. package/rolesanywhere/profile.js +2 -0
  38. package/rolesanywhere/profile.js.map +1 -1
  39. package/securityhub/configurationPolicy.d.ts +79 -0
  40. package/securityhub/configurationPolicy.js +75 -0
  41. package/securityhub/configurationPolicy.js.map +1 -0
  42. package/securityhub/findingAggregator.d.ts +58 -0
  43. package/securityhub/findingAggregator.js +65 -0
  44. package/securityhub/findingAggregator.js.map +1 -0
  45. package/securityhub/getConfigurationPolicy.d.ts +56 -0
  46. package/securityhub/getConfigurationPolicy.js +25 -0
  47. package/securityhub/getConfigurationPolicy.js.map +1 -0
  48. package/securityhub/getFindingAggregator.d.ts +40 -0
  49. package/securityhub/getFindingAggregator.js +25 -0
  50. package/securityhub/getFindingAggregator.js.map +1 -0
  51. package/securityhub/getOrganizationConfiguration.d.ts +52 -0
  52. package/securityhub/getOrganizationConfiguration.js +25 -0
  53. package/securityhub/getOrganizationConfiguration.js.map +1 -0
  54. package/securityhub/getPolicyAssociation.d.ts +48 -0
  55. package/securityhub/getPolicyAssociation.js +25 -0
  56. package/securityhub/getPolicyAssociation.js.map +1 -0
  57. package/securityhub/index.d.ts +24 -0
  58. package/securityhub/index.js +29 -1
  59. package/securityhub/index.js.map +1 -1
  60. package/securityhub/organizationConfiguration.d.ts +74 -0
  61. package/securityhub/organizationConfiguration.js +71 -0
  62. package/securityhub/organizationConfiguration.js.map +1 -0
  63. package/securityhub/policyAssociation.d.ts +78 -0
  64. package/securityhub/policyAssociation.js +81 -0
  65. package/securityhub/policyAssociation.js.map +1 -0
  66. package/types/enums/mediapackagev2/index.d.ts +29 -0
  67. package/types/enums/mediapackagev2/index.js +25 -1
  68. package/types/enums/mediapackagev2/index.js.map +1 -1
  69. package/types/enums/rolesanywhere/index.d.ts +6 -0
  70. package/types/enums/rolesanywhere/index.js +6 -1
  71. package/types/enums/rolesanywhere/index.js.map +1 -1
  72. package/types/enums/securityhub/index.d.ts +68 -0
  73. package/types/enums/securityhub/index.js +37 -1
  74. package/types/enums/securityhub/index.js.map +1 -1
  75. package/types/input.d.ts +174 -2
  76. package/types/output.d.ts +174 -2
@@ -0,0 +1,65 @@
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.FindingAggregator = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode.
10
+ */
11
+ class FindingAggregator extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing FindingAggregator 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 FindingAggregator(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of FindingAggregator. 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'] === FindingAggregator.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a FindingAggregator 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 || args.regionLinkingMode === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'regionLinkingMode'");
46
+ }
47
+ resourceInputs["regionLinkingMode"] = args ? args.regionLinkingMode : undefined;
48
+ resourceInputs["regions"] = args ? args.regions : undefined;
49
+ resourceInputs["findingAggregationRegion"] = undefined /*out*/;
50
+ resourceInputs["findingAggregatorArn"] = undefined /*out*/;
51
+ }
52
+ else {
53
+ resourceInputs["findingAggregationRegion"] = undefined /*out*/;
54
+ resourceInputs["findingAggregatorArn"] = undefined /*out*/;
55
+ resourceInputs["regionLinkingMode"] = undefined /*out*/;
56
+ resourceInputs["regions"] = undefined /*out*/;
57
+ }
58
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
59
+ super(FindingAggregator.__pulumiType, name, resourceInputs, opts);
60
+ }
61
+ }
62
+ exports.FindingAggregator = FindingAggregator;
63
+ /** @internal */
64
+ FindingAggregator.__pulumiType = 'aws-native:securityhub:FindingAggregator';
65
+ //# sourceMappingURL=findingAggregator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findingAggregator.js","sourceRoot":"","sources":["../../securityhub/findingAggregator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA2B,EAAE,IAAmC;QACtF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,iBAAiB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9D,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;aACpE;YACD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9D;aAAM;YACH,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtEL,8CAuEC;AA1DG,gBAAgB;AACO,8BAAY,GAAG,0CAA0C,CAAC"}
@@ -0,0 +1,56 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account.
5
+ */
6
+ export declare function getConfigurationPolicy(args: GetConfigurationPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigurationPolicyResult>;
7
+ export interface GetConfigurationPolicyArgs {
8
+ /**
9
+ * The Amazon Resource Name (ARN) of the configuration policy.
10
+ */
11
+ arn: string;
12
+ }
13
+ export interface GetConfigurationPolicyResult {
14
+ /**
15
+ * The Amazon Resource Name (ARN) of the configuration policy.
16
+ */
17
+ readonly arn?: string;
18
+ readonly configurationPolicy?: outputs.securityhub.ConfigurationPolicyPolicy;
19
+ /**
20
+ * The date and time, in UTC and ISO 8601 format.
21
+ */
22
+ readonly createdAt?: string;
23
+ /**
24
+ * The description of the configuration policy.
25
+ */
26
+ readonly description?: string;
27
+ /**
28
+ * The universally unique identifier (UUID) of the configuration policy.
29
+ */
30
+ readonly id?: string;
31
+ /**
32
+ * The name of the configuration policy.
33
+ */
34
+ readonly name?: string;
35
+ /**
36
+ * Indicates whether the service that the configuration policy applies to is enabled in the policy.
37
+ */
38
+ readonly serviceEnabled?: boolean;
39
+ readonly tags?: {
40
+ [key: string]: string;
41
+ };
42
+ /**
43
+ * The date and time, in UTC and ISO 8601 format.
44
+ */
45
+ readonly updatedAt?: string;
46
+ }
47
+ /**
48
+ * The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account.
49
+ */
50
+ export declare function getConfigurationPolicyOutput(args: GetConfigurationPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConfigurationPolicyResult>;
51
+ export interface GetConfigurationPolicyOutputArgs {
52
+ /**
53
+ * The Amazon Resource Name (ARN) of the configuration policy.
54
+ */
55
+ arn: pulumi.Input<string>;
56
+ }
@@ -0,0 +1,25 @@
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.getConfigurationPolicyOutput = exports.getConfigurationPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account.
10
+ */
11
+ function getConfigurationPolicy(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:securityhub:getConfigurationPolicy", {
14
+ "arn": args.arn,
15
+ }, opts);
16
+ }
17
+ exports.getConfigurationPolicy = getConfigurationPolicy;
18
+ /**
19
+ * The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account.
20
+ */
21
+ function getConfigurationPolicyOutput(args, opts) {
22
+ return pulumi.output(args).apply((a) => getConfigurationPolicy(a, opts));
23
+ }
24
+ exports.getConfigurationPolicyOutput = getConfigurationPolicyOutput;
25
+ //# sourceMappingURL=getConfigurationPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConfigurationPolicy.js","sourceRoot":"","sources":["../../securityhub/getConfigurationPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AAyCD;;GAEG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
@@ -0,0 +1,40 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
3
+ /**
4
+ * The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode.
5
+ */
6
+ export declare function getFindingAggregator(args: GetFindingAggregatorArgs, opts?: pulumi.InvokeOptions): Promise<GetFindingAggregatorResult>;
7
+ export interface GetFindingAggregatorArgs {
8
+ /**
9
+ * The ARN of the FindingAggregator being created and assigned as the unique identifier
10
+ */
11
+ findingAggregatorArn: string;
12
+ }
13
+ export interface GetFindingAggregatorResult {
14
+ /**
15
+ * The aggregation Region of the FindingAggregator
16
+ */
17
+ readonly findingAggregationRegion?: string;
18
+ /**
19
+ * The ARN of the FindingAggregator being created and assigned as the unique identifier
20
+ */
21
+ readonly findingAggregatorArn?: string;
22
+ /**
23
+ * Indicates whether to link all Regions, all Regions except for a list of excluded Regions, or a list of included Regions
24
+ */
25
+ readonly regionLinkingMode?: enums.securityhub.FindingAggregatorRegionLinkingMode;
26
+ /**
27
+ * The list of excluded Regions or included Regions
28
+ */
29
+ readonly regions?: string[];
30
+ }
31
+ /**
32
+ * The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode.
33
+ */
34
+ export declare function getFindingAggregatorOutput(args: GetFindingAggregatorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFindingAggregatorResult>;
35
+ export interface GetFindingAggregatorOutputArgs {
36
+ /**
37
+ * The ARN of the FindingAggregator being created and assigned as the unique identifier
38
+ */
39
+ findingAggregatorArn: pulumi.Input<string>;
40
+ }
@@ -0,0 +1,25 @@
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.getFindingAggregatorOutput = exports.getFindingAggregator = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode.
10
+ */
11
+ function getFindingAggregator(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:securityhub:getFindingAggregator", {
14
+ "findingAggregatorArn": args.findingAggregatorArn,
15
+ }, opts);
16
+ }
17
+ exports.getFindingAggregator = getFindingAggregator;
18
+ /**
19
+ * The AWS::SecurityHub::FindingAggregator resource represents the AWS Security Hub Finding Aggregator in your account. One finding aggregator resource is created for each account in non opt-in region in which you configure region linking mode.
20
+ */
21
+ function getFindingAggregatorOutput(args, opts) {
22
+ return pulumi.output(args).apply((a) => getFindingAggregator(a, opts));
23
+ }
24
+ exports.getFindingAggregatorOutput = getFindingAggregatorOutput;
25
+ //# sourceMappingURL=getFindingAggregator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFindingAggregator.js","sourceRoot":"","sources":["../../securityhub/getFindingAggregator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;KACpD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AA2BD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
@@ -0,0 +1,52 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
3
+ /**
4
+ * The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator.
5
+ */
6
+ export declare function getOrganizationConfiguration(args: GetOrganizationConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationConfigurationResult>;
7
+ export interface GetOrganizationConfigurationArgs {
8
+ /**
9
+ * The identifier of the OrganizationConfiguration being created and assigned as the unique identifier.
10
+ */
11
+ organizationConfigurationIdentifier: string;
12
+ }
13
+ export interface GetOrganizationConfigurationResult {
14
+ /**
15
+ * Whether to automatically enable Security Hub in new member accounts when they join the organization.
16
+ */
17
+ readonly autoEnable?: boolean;
18
+ /**
19
+ * Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
20
+ */
21
+ readonly autoEnableStandards?: enums.securityhub.OrganizationConfigurationAutoEnableStandards;
22
+ /**
23
+ * Indicates whether the organization uses local or central configuration.
24
+ */
25
+ readonly configurationType?: enums.securityhub.OrganizationConfigurationConfigurationType;
26
+ /**
27
+ * Whether the maximum number of allowed member accounts are already associated with the Security Hub administrator account.
28
+ */
29
+ readonly memberAccountLimitReached?: boolean;
30
+ /**
31
+ * The identifier of the OrganizationConfiguration being created and assigned as the unique identifier.
32
+ */
33
+ readonly organizationConfigurationIdentifier?: string;
34
+ /**
35
+ * Describes whether central configuration could be enabled as the ConfigurationType for the organization.
36
+ */
37
+ readonly status?: enums.securityhub.OrganizationConfigurationStatus;
38
+ /**
39
+ * Provides an explanation if the value of Status is equal to FAILED when ConfigurationType is equal to CENTRAL.
40
+ */
41
+ readonly statusMessage?: string;
42
+ }
43
+ /**
44
+ * The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator.
45
+ */
46
+ export declare function getOrganizationConfigurationOutput(args: GetOrganizationConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationConfigurationResult>;
47
+ export interface GetOrganizationConfigurationOutputArgs {
48
+ /**
49
+ * The identifier of the OrganizationConfiguration being created and assigned as the unique identifier.
50
+ */
51
+ organizationConfigurationIdentifier: pulumi.Input<string>;
52
+ }
@@ -0,0 +1,25 @@
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.getOrganizationConfigurationOutput = exports.getOrganizationConfiguration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator.
10
+ */
11
+ function getOrganizationConfiguration(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:securityhub:getOrganizationConfiguration", {
14
+ "organizationConfigurationIdentifier": args.organizationConfigurationIdentifier,
15
+ }, opts);
16
+ }
17
+ exports.getOrganizationConfiguration = getOrganizationConfiguration;
18
+ /**
19
+ * The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator.
20
+ */
21
+ function getOrganizationConfigurationOutput(args, opts) {
22
+ return pulumi.output(args).apply((a) => getOrganizationConfiguration(a, opts));
23
+ }
24
+ exports.getOrganizationConfigurationOutput = getOrganizationConfigurationOutput;
25
+ //# sourceMappingURL=getOrganizationConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOrganizationConfiguration.js","sourceRoot":"","sources":["../../securityhub/getOrganizationConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,qCAAqC,EAAE,IAAI,CAAC,mCAAmC;KAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC;AAuCD;;GAEG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
@@ -0,0 +1,48 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
3
+ /**
4
+ * The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region.
5
+ */
6
+ export declare function getPolicyAssociation(args: GetPolicyAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyAssociationResult>;
7
+ export interface GetPolicyAssociationArgs {
8
+ /**
9
+ * A unique identifier to indicates if the target has an association
10
+ */
11
+ associationIdentifier: string;
12
+ }
13
+ export interface GetPolicyAssociationResult {
14
+ /**
15
+ * A unique identifier to indicates if the target has an association
16
+ */
17
+ readonly associationIdentifier?: string;
18
+ /**
19
+ * The current status of the association between the specified target and the configuration
20
+ */
21
+ readonly associationStatus?: enums.securityhub.PolicyAssociationAssociationStatus;
22
+ /**
23
+ * An explanation for a FAILED value for AssociationStatus
24
+ */
25
+ readonly associationStatusMessage?: string;
26
+ /**
27
+ * Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent
28
+ */
29
+ readonly associationType?: enums.securityhub.PolicyAssociationAssociationType;
30
+ /**
31
+ * The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
32
+ */
33
+ readonly configurationPolicyId?: string;
34
+ /**
35
+ * The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
36
+ */
37
+ readonly updatedAt?: string;
38
+ }
39
+ /**
40
+ * The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region.
41
+ */
42
+ export declare function getPolicyAssociationOutput(args: GetPolicyAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPolicyAssociationResult>;
43
+ export interface GetPolicyAssociationOutputArgs {
44
+ /**
45
+ * A unique identifier to indicates if the target has an association
46
+ */
47
+ associationIdentifier: pulumi.Input<string>;
48
+ }
@@ -0,0 +1,25 @@
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.getPolicyAssociationOutput = exports.getPolicyAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region.
10
+ */
11
+ function getPolicyAssociation(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:securityhub:getPolicyAssociation", {
14
+ "associationIdentifier": args.associationIdentifier,
15
+ }, opts);
16
+ }
17
+ exports.getPolicyAssociation = getPolicyAssociation;
18
+ /**
19
+ * The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region.
20
+ */
21
+ function getPolicyAssociationOutput(args, opts) {
22
+ return pulumi.output(args).apply((a) => getPolicyAssociation(a, opts));
23
+ }
24
+ exports.getPolicyAssociationOutput = getPolicyAssociationOutput;
25
+ //# sourceMappingURL=getPolicyAssociation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPolicyAssociation.js","sourceRoot":"","sources":["../../securityhub/getPolicyAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AAmCD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
@@ -1,21 +1,39 @@
1
1
  export { AutomationRuleArgs } from "./automationRule";
2
2
  export type AutomationRule = import("./automationRule").AutomationRule;
3
3
  export declare const AutomationRule: typeof import("./automationRule").AutomationRule;
4
+ export { ConfigurationPolicyArgs } from "./configurationPolicy";
5
+ export type ConfigurationPolicy = import("./configurationPolicy").ConfigurationPolicy;
6
+ export declare const ConfigurationPolicy: typeof import("./configurationPolicy").ConfigurationPolicy;
4
7
  export { DelegatedAdminArgs } from "./delegatedAdmin";
5
8
  export type DelegatedAdmin = import("./delegatedAdmin").DelegatedAdmin;
6
9
  export declare const DelegatedAdmin: typeof import("./delegatedAdmin").DelegatedAdmin;
10
+ export { FindingAggregatorArgs } from "./findingAggregator";
11
+ export type FindingAggregator = import("./findingAggregator").FindingAggregator;
12
+ export declare const FindingAggregator: typeof import("./findingAggregator").FindingAggregator;
7
13
  export { GetAutomationRuleArgs, GetAutomationRuleResult, GetAutomationRuleOutputArgs } from "./getAutomationRule";
8
14
  export declare const getAutomationRule: typeof import("./getAutomationRule").getAutomationRule;
9
15
  export declare const getAutomationRuleOutput: typeof import("./getAutomationRule").getAutomationRuleOutput;
16
+ export { GetConfigurationPolicyArgs, GetConfigurationPolicyResult, GetConfigurationPolicyOutputArgs } from "./getConfigurationPolicy";
17
+ export declare const getConfigurationPolicy: typeof import("./getConfigurationPolicy").getConfigurationPolicy;
18
+ export declare const getConfigurationPolicyOutput: typeof import("./getConfigurationPolicy").getConfigurationPolicyOutput;
10
19
  export { GetDelegatedAdminArgs, GetDelegatedAdminResult, GetDelegatedAdminOutputArgs } from "./getDelegatedAdmin";
11
20
  export declare const getDelegatedAdmin: typeof import("./getDelegatedAdmin").getDelegatedAdmin;
12
21
  export declare const getDelegatedAdminOutput: typeof import("./getDelegatedAdmin").getDelegatedAdminOutput;
22
+ export { GetFindingAggregatorArgs, GetFindingAggregatorResult, GetFindingAggregatorOutputArgs } from "./getFindingAggregator";
23
+ export declare const getFindingAggregator: typeof import("./getFindingAggregator").getFindingAggregator;
24
+ export declare const getFindingAggregatorOutput: typeof import("./getFindingAggregator").getFindingAggregatorOutput;
13
25
  export { GetHubArgs, GetHubResult, GetHubOutputArgs } from "./getHub";
14
26
  export declare const getHub: typeof import("./getHub").getHub;
15
27
  export declare const getHubOutput: typeof import("./getHub").getHubOutput;
16
28
  export { GetInsightArgs, GetInsightResult, GetInsightOutputArgs } from "./getInsight";
17
29
  export declare const getInsight: typeof import("./getInsight").getInsight;
18
30
  export declare const getInsightOutput: typeof import("./getInsight").getInsightOutput;
31
+ export { GetOrganizationConfigurationArgs, GetOrganizationConfigurationResult, GetOrganizationConfigurationOutputArgs } from "./getOrganizationConfiguration";
32
+ export declare const getOrganizationConfiguration: typeof import("./getOrganizationConfiguration").getOrganizationConfiguration;
33
+ export declare const getOrganizationConfigurationOutput: typeof import("./getOrganizationConfiguration").getOrganizationConfigurationOutput;
34
+ export { GetPolicyAssociationArgs, GetPolicyAssociationResult, GetPolicyAssociationOutputArgs } from "./getPolicyAssociation";
35
+ export declare const getPolicyAssociation: typeof import("./getPolicyAssociation").getPolicyAssociation;
36
+ export declare const getPolicyAssociationOutput: typeof import("./getPolicyAssociation").getPolicyAssociationOutput;
19
37
  export { GetProductSubscriptionArgs, GetProductSubscriptionResult, GetProductSubscriptionOutputArgs } from "./getProductSubscription";
20
38
  export declare const getProductSubscription: typeof import("./getProductSubscription").getProductSubscription;
21
39
  export declare const getProductSubscriptionOutput: typeof import("./getProductSubscription").getProductSubscriptionOutput;
@@ -31,6 +49,12 @@ export declare const Hub: typeof import("./hub").Hub;
31
49
  export { InsightArgs } from "./insight";
32
50
  export type Insight = import("./insight").Insight;
33
51
  export declare const Insight: typeof import("./insight").Insight;
52
+ export { OrganizationConfigurationArgs } from "./organizationConfiguration";
53
+ export type OrganizationConfiguration = import("./organizationConfiguration").OrganizationConfiguration;
54
+ export declare const OrganizationConfiguration: typeof import("./organizationConfiguration").OrganizationConfiguration;
55
+ export { PolicyAssociationArgs } from "./policyAssociation";
56
+ export type PolicyAssociation = import("./policyAssociation").PolicyAssociation;
57
+ export declare const PolicyAssociation: typeof import("./policyAssociation").PolicyAssociation;
34
58
  export { ProductSubscriptionArgs } from "./productSubscription";
35
59
  export type ProductSubscription = import("./productSubscription").ProductSubscription;
36
60
  export declare const ProductSubscription: typeof import("./productSubscription").ProductSubscription;
@@ -16,25 +16,41 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.Standard = exports.SecurityControl = exports.ProductSubscription = exports.Insight = exports.Hub = exports.getStandardOutput = exports.getStandard = exports.getSecurityControlOutput = exports.getSecurityControl = exports.getProductSubscriptionOutput = exports.getProductSubscription = exports.getInsightOutput = exports.getInsight = exports.getHubOutput = exports.getHub = exports.getDelegatedAdminOutput = exports.getDelegatedAdmin = exports.getAutomationRuleOutput = exports.getAutomationRule = exports.DelegatedAdmin = exports.AutomationRule = void 0;
19
+ exports.Standard = exports.SecurityControl = exports.ProductSubscription = exports.PolicyAssociation = exports.OrganizationConfiguration = exports.Insight = exports.Hub = exports.getStandardOutput = exports.getStandard = exports.getSecurityControlOutput = exports.getSecurityControl = exports.getProductSubscriptionOutput = exports.getProductSubscription = exports.getPolicyAssociationOutput = exports.getPolicyAssociation = exports.getOrganizationConfigurationOutput = exports.getOrganizationConfiguration = exports.getInsightOutput = exports.getInsight = exports.getHubOutput = exports.getHub = exports.getFindingAggregatorOutput = exports.getFindingAggregator = exports.getDelegatedAdminOutput = exports.getDelegatedAdmin = exports.getConfigurationPolicyOutput = exports.getConfigurationPolicy = exports.getAutomationRuleOutput = exports.getAutomationRule = exports.FindingAggregator = exports.DelegatedAdmin = exports.ConfigurationPolicy = exports.AutomationRule = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("../utilities");
22
22
  exports.AutomationRule = null;
23
23
  utilities.lazyLoad(exports, ["AutomationRule"], () => require("./automationRule"));
24
+ exports.ConfigurationPolicy = null;
25
+ utilities.lazyLoad(exports, ["ConfigurationPolicy"], () => require("./configurationPolicy"));
24
26
  exports.DelegatedAdmin = null;
25
27
  utilities.lazyLoad(exports, ["DelegatedAdmin"], () => require("./delegatedAdmin"));
28
+ exports.FindingAggregator = null;
29
+ utilities.lazyLoad(exports, ["FindingAggregator"], () => require("./findingAggregator"));
26
30
  exports.getAutomationRule = null;
27
31
  exports.getAutomationRuleOutput = null;
28
32
  utilities.lazyLoad(exports, ["getAutomationRule", "getAutomationRuleOutput"], () => require("./getAutomationRule"));
33
+ exports.getConfigurationPolicy = null;
34
+ exports.getConfigurationPolicyOutput = null;
35
+ utilities.lazyLoad(exports, ["getConfigurationPolicy", "getConfigurationPolicyOutput"], () => require("./getConfigurationPolicy"));
29
36
  exports.getDelegatedAdmin = null;
30
37
  exports.getDelegatedAdminOutput = null;
31
38
  utilities.lazyLoad(exports, ["getDelegatedAdmin", "getDelegatedAdminOutput"], () => require("./getDelegatedAdmin"));
39
+ exports.getFindingAggregator = null;
40
+ exports.getFindingAggregatorOutput = null;
41
+ utilities.lazyLoad(exports, ["getFindingAggregator", "getFindingAggregatorOutput"], () => require("./getFindingAggregator"));
32
42
  exports.getHub = null;
33
43
  exports.getHubOutput = null;
34
44
  utilities.lazyLoad(exports, ["getHub", "getHubOutput"], () => require("./getHub"));
35
45
  exports.getInsight = null;
36
46
  exports.getInsightOutput = null;
37
47
  utilities.lazyLoad(exports, ["getInsight", "getInsightOutput"], () => require("./getInsight"));
48
+ exports.getOrganizationConfiguration = null;
49
+ exports.getOrganizationConfigurationOutput = null;
50
+ utilities.lazyLoad(exports, ["getOrganizationConfiguration", "getOrganizationConfigurationOutput"], () => require("./getOrganizationConfiguration"));
51
+ exports.getPolicyAssociation = null;
52
+ exports.getPolicyAssociationOutput = null;
53
+ utilities.lazyLoad(exports, ["getPolicyAssociation", "getPolicyAssociationOutput"], () => require("./getPolicyAssociation"));
38
54
  exports.getProductSubscription = null;
39
55
  exports.getProductSubscriptionOutput = null;
40
56
  utilities.lazyLoad(exports, ["getProductSubscription", "getProductSubscriptionOutput"], () => require("./getProductSubscription"));
@@ -48,6 +64,10 @@ exports.Hub = null;
48
64
  utilities.lazyLoad(exports, ["Hub"], () => require("./hub"));
49
65
  exports.Insight = null;
50
66
  utilities.lazyLoad(exports, ["Insight"], () => require("./insight"));
67
+ exports.OrganizationConfiguration = null;
68
+ utilities.lazyLoad(exports, ["OrganizationConfiguration"], () => require("./organizationConfiguration"));
69
+ exports.PolicyAssociation = null;
70
+ utilities.lazyLoad(exports, ["PolicyAssociation"], () => require("./policyAssociation"));
51
71
  exports.ProductSubscription = null;
52
72
  utilities.lazyLoad(exports, ["ProductSubscription"], () => require("./productSubscription"));
53
73
  exports.SecurityControl = null;
@@ -62,12 +82,20 @@ const _module = {
62
82
  switch (type) {
63
83
  case "aws-native:securityhub:AutomationRule":
64
84
  return new exports.AutomationRule(name, undefined, { urn });
85
+ case "aws-native:securityhub:ConfigurationPolicy":
86
+ return new exports.ConfigurationPolicy(name, undefined, { urn });
65
87
  case "aws-native:securityhub:DelegatedAdmin":
66
88
  return new exports.DelegatedAdmin(name, undefined, { urn });
89
+ case "aws-native:securityhub:FindingAggregator":
90
+ return new exports.FindingAggregator(name, undefined, { urn });
67
91
  case "aws-native:securityhub:Hub":
68
92
  return new exports.Hub(name, undefined, { urn });
69
93
  case "aws-native:securityhub:Insight":
70
94
  return new exports.Insight(name, undefined, { urn });
95
+ case "aws-native:securityhub:OrganizationConfiguration":
96
+ return new exports.OrganizationConfiguration(name, undefined, { urn });
97
+ case "aws-native:securityhub:PolicyAssociation":
98
+ return new exports.PolicyAssociation(name, undefined, { urn });
71
99
  case "aws-native:securityhub:ProductSubscription":
72
100
  return new exports.ProductSubscription(name, undefined, { urn });
73
101
  case "aws-native:securityhub:SecurityControl":
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../securityhub/index.ts"],"names":[],"mappings":";AAAA,sEAA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umi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
3
+ /**
4
+ * The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator.
5
+ */
6
+ export declare class OrganizationConfiguration extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing OrganizationConfiguration resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrganizationConfiguration;
16
+ /**
17
+ * Returns true if the given object is an instance of OrganizationConfiguration. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is OrganizationConfiguration;
21
+ /**
22
+ * Whether to automatically enable Security Hub in new member accounts when they join the organization.
23
+ */
24
+ readonly autoEnable: pulumi.Output<boolean>;
25
+ /**
26
+ * Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
27
+ */
28
+ readonly autoEnableStandards: pulumi.Output<enums.securityhub.OrganizationConfigurationAutoEnableStandards | undefined>;
29
+ /**
30
+ * Indicates whether the organization uses local or central configuration.
31
+ */
32
+ readonly configurationType: pulumi.Output<enums.securityhub.OrganizationConfigurationConfigurationType | undefined>;
33
+ /**
34
+ * Whether the maximum number of allowed member accounts are already associated with the Security Hub administrator account.
35
+ */
36
+ readonly memberAccountLimitReached: pulumi.Output<boolean>;
37
+ /**
38
+ * The identifier of the OrganizationConfiguration being created and assigned as the unique identifier.
39
+ */
40
+ readonly organizationConfigurationIdentifier: pulumi.Output<string>;
41
+ /**
42
+ * Describes whether central configuration could be enabled as the ConfigurationType for the organization.
43
+ */
44
+ readonly status: pulumi.Output<enums.securityhub.OrganizationConfigurationStatus>;
45
+ /**
46
+ * Provides an explanation if the value of Status is equal to FAILED when ConfigurationType is equal to CENTRAL.
47
+ */
48
+ readonly statusMessage: pulumi.Output<string>;
49
+ /**
50
+ * Create a OrganizationConfiguration resource with the given unique name, arguments, and options.
51
+ *
52
+ * @param name The _unique_ name of the resource.
53
+ * @param args The arguments to use to populate this resource's properties.
54
+ * @param opts A bag of options that control this resource's behavior.
55
+ */
56
+ constructor(name: string, args: OrganizationConfigurationArgs, opts?: pulumi.CustomResourceOptions);
57
+ }
58
+ /**
59
+ * The set of arguments for constructing a OrganizationConfiguration resource.
60
+ */
61
+ export interface OrganizationConfigurationArgs {
62
+ /**
63
+ * Whether to automatically enable Security Hub in new member accounts when they join the organization.
64
+ */
65
+ autoEnable: pulumi.Input<boolean>;
66
+ /**
67
+ * Whether to automatically enable Security Hub default standards in new member accounts when they join the organization.
68
+ */
69
+ autoEnableStandards?: pulumi.Input<enums.securityhub.OrganizationConfigurationAutoEnableStandards>;
70
+ /**
71
+ * Indicates whether the organization uses local or central configuration.
72
+ */
73
+ configurationType?: pulumi.Input<enums.securityhub.OrganizationConfigurationConfigurationType>;
74
+ }