Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
Lists the standards that are currently enabled.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.securityhub.getEnabledStandards({});
import pulumi
import pulumi_aws as aws
example = aws.securityhub.get_enabled_standards()
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/securityhub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityhub.GetEnabledStandards(ctx, &securityhub.GetEnabledStandardsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.SecurityHub.GetEnabledStandards.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.securityhub.SecurityhubFunctions;
import com.pulumi.aws.securityhub.inputs.GetEnabledStandardsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = SecurityhubFunctions.getEnabledStandards(GetEnabledStandardsArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: aws:securityhub:getEnabledStandards
arguments: {}
Using getEnabledStandards
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEnabledStandards(args: GetEnabledStandardsArgs, opts?: InvokeOptions): Promise<GetEnabledStandardsResult>
function getEnabledStandardsOutput(args: GetEnabledStandardsOutputArgs, opts?: InvokeOptions): Output<GetEnabledStandardsResult>def get_enabled_standards(region: Optional[str] = None,
standards_subscription_arns: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetEnabledStandardsResult
def get_enabled_standards_output(region: Optional[pulumi.Input[str]] = None,
standards_subscription_arns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnabledStandardsResult]func GetEnabledStandards(ctx *Context, args *GetEnabledStandardsArgs, opts ...InvokeOption) (*GetEnabledStandardsResult, error)
func GetEnabledStandardsOutput(ctx *Context, args *GetEnabledStandardsOutputArgs, opts ...InvokeOption) GetEnabledStandardsResultOutput> Note: This function is named GetEnabledStandards in the Go SDK.
public static class GetEnabledStandards
{
public static Task<GetEnabledStandardsResult> InvokeAsync(GetEnabledStandardsArgs args, InvokeOptions? opts = null)
public static Output<GetEnabledStandardsResult> Invoke(GetEnabledStandardsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEnabledStandardsResult> getEnabledStandards(GetEnabledStandardsArgs args, InvokeOptions options)
public static Output<GetEnabledStandardsResult> getEnabledStandards(GetEnabledStandardsArgs args, InvokeOptions options)
fn::invoke:
function: aws:securityhub/getEnabledStandards:getEnabledStandards
arguments:
# arguments dictionaryThe following arguments are supported:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Standards
Subscription List<string>Arns - List of the standards subscription ARNs for the standards to retrieve.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Standards
Subscription []stringArns - List of the standards subscription ARNs for the standards to retrieve.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- standards
Subscription List<String>Arns - List of the standards subscription ARNs for the standards to retrieve.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- standards
Subscription string[]Arns - List of the standards subscription ARNs for the standards to retrieve.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- standards_
subscription_ Sequence[str]arns - List of the standards subscription ARNs for the standards to retrieve.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- standards
Subscription List<String>Arns - List of the standards subscription ARNs for the standards to retrieve.
getEnabledStandards Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Standards
Subscriptions List<GetEnabled Standards Standards Subscription> - List of controls that apply to the specified standard. See below for details.
- Standards
Subscription List<string>Arns
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- Standards
Subscriptions []GetEnabled Standards Standards Subscription - List of controls that apply to the specified standard. See below for details.
- Standards
Subscription []stringArns
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- standards
Subscriptions List<GetEnabled Standards Standards Subscription> - List of controls that apply to the specified standard. See below for details.
- standards
Subscription List<String>Arns
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- standards
Subscriptions GetEnabled Standards Standards Subscription[] - List of controls that apply to the specified standard. See below for details.
- standards
Subscription string[]Arns
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- standards_
subscriptions Sequence[GetEnabled Standards Standards Subscription] - List of controls that apply to the specified standard. See below for details.
- standards_
subscription_ Sequence[str]arns
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- standards
Subscriptions List<Property Map> - List of controls that apply to the specified standard. See below for details.
- standards
Subscription List<String>Arns
Supporting Types
GetEnabledStandardsStandardsSubscription
- Standards
Arn string - ARN of the standard.
- Standards
Controls stringUpdatable - Whether you can retrieve information about and configure individual controls that apply to the standard. Valid values:
READY_FOR_UPDATES,NOT_READY_FOR_UPDATES. - Standards
Inputs Dictionary<string, string> - Key-value map of input for the standard.
- Standards
Status string - Status of your subscription to the standard. Valid values:
PENDING,READY,FAILED,DELETING,INCOMPLETE. - Standards
Status List<GetReasons Enabled Standards Standards Subscription Standards Status Reason> - Reason for the current status. See below for details.
- Standards
Subscription stringArn - ARN of the resource that represents your subscription to the standard.
- Standards
Arn string - ARN of the standard.
- Standards
Controls stringUpdatable - Whether you can retrieve information about and configure individual controls that apply to the standard. Valid values:
READY_FOR_UPDATES,NOT_READY_FOR_UPDATES. - Standards
Inputs map[string]string - Key-value map of input for the standard.
- Standards
Status string - Status of your subscription to the standard. Valid values:
PENDING,READY,FAILED,DELETING,INCOMPLETE. - Standards
Status []GetReasons Enabled Standards Standards Subscription Standards Status Reason - Reason for the current status. See below for details.
- Standards
Subscription stringArn - ARN of the resource that represents your subscription to the standard.
- standards
Arn String - ARN of the standard.
- standards
Controls StringUpdatable - Whether you can retrieve information about and configure individual controls that apply to the standard. Valid values:
READY_FOR_UPDATES,NOT_READY_FOR_UPDATES. - standards
Inputs Map<String,String> - Key-value map of input for the standard.
- standards
Status String - Status of your subscription to the standard. Valid values:
PENDING,READY,FAILED,DELETING,INCOMPLETE. - standards
Status List<GetReasons Enabled Standards Standards Subscription Standards Status Reason> - Reason for the current status. See below for details.
- standards
Subscription StringArn - ARN of the resource that represents your subscription to the standard.
- standards
Arn string - ARN of the standard.
- standards
Controls stringUpdatable - Whether you can retrieve information about and configure individual controls that apply to the standard. Valid values:
READY_FOR_UPDATES,NOT_READY_FOR_UPDATES. - standards
Inputs {[key: string]: string} - Key-value map of input for the standard.
- standards
Status string - Status of your subscription to the standard. Valid values:
PENDING,READY,FAILED,DELETING,INCOMPLETE. - standards
Status GetReasons Enabled Standards Standards Subscription Standards Status Reason[] - Reason for the current status. See below for details.
- standards
Subscription stringArn - ARN of the resource that represents your subscription to the standard.
- standards_
arn str - ARN of the standard.
- standards_
controls_ strupdatable - Whether you can retrieve information about and configure individual controls that apply to the standard. Valid values:
READY_FOR_UPDATES,NOT_READY_FOR_UPDATES. - standards_
inputs Mapping[str, str] - Key-value map of input for the standard.
- standards_
status str - Status of your subscription to the standard. Valid values:
PENDING,READY,FAILED,DELETING,INCOMPLETE. - standards_
status_ Sequence[Getreasons Enabled Standards Standards Subscription Standards Status Reason] - Reason for the current status. See below for details.
- standards_
subscription_ strarn - ARN of the resource that represents your subscription to the standard.
- standards
Arn String - ARN of the standard.
- standards
Controls StringUpdatable - Whether you can retrieve information about and configure individual controls that apply to the standard. Valid values:
READY_FOR_UPDATES,NOT_READY_FOR_UPDATES. - standards
Inputs Map<String> - Key-value map of input for the standard.
- standards
Status String - Status of your subscription to the standard. Valid values:
PENDING,READY,FAILED,DELETING,INCOMPLETE. - standards
Status List<Property Map>Reasons - Reason for the current status. See below for details.
- standards
Subscription StringArn - ARN of the resource that represents your subscription to the standard.
GetEnabledStandardsStandardsSubscriptionStandardsStatusReason
- Status
Reason stringCode - Reason code that represents the reason for the current status of a standard subscription. Valid values:
NO_AVAILABLE_CONFIGURATION_RECORDER,MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED,INTERNAL_ERROR.
- Status
Reason stringCode - Reason code that represents the reason for the current status of a standard subscription. Valid values:
NO_AVAILABLE_CONFIGURATION_RECORDER,MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED,INTERNAL_ERROR.
- status
Reason StringCode - Reason code that represents the reason for the current status of a standard subscription. Valid values:
NO_AVAILABLE_CONFIGURATION_RECORDER,MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED,INTERNAL_ERROR.
- status
Reason stringCode - Reason code that represents the reason for the current status of a standard subscription. Valid values:
NO_AVAILABLE_CONFIGURATION_RECORDER,MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED,INTERNAL_ERROR.
- status_
reason_ strcode - Reason code that represents the reason for the current status of a standard subscription. Valid values:
NO_AVAILABLE_CONFIGURATION_RECORDER,MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED,INTERNAL_ERROR.
- status
Reason StringCode - Reason code that represents the reason for the current status of a standard subscription. Valid values:
NO_AVAILABLE_CONFIGURATION_RECORDER,MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED,INTERNAL_ERROR.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
