We recommend new projects start with resources from the AWS provider.
aws-native.securityhub.getStandard
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::SecurityHub::Standard
resource specifies the enablement of a security standard. The standard is identified by the StandardsArn
property. To view a list of ASH standards and their Amazon Resource Names (ARNs), use the DescribeStandards API operation.
You must create a separate AWS::SecurityHub::Standard
resource for each standard that you want to enable.
For more information about ASH standards, see standards reference in the User Guide.
Using getStandard
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 getStandard(args: GetStandardArgs, opts?: InvokeOptions): Promise<GetStandardResult>
function getStandardOutput(args: GetStandardOutputArgs, opts?: InvokeOptions): Output<GetStandardResult>
def get_standard(standards_subscription_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStandardResult
def get_standard_output(standards_subscription_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStandardResult]
func LookupStandard(ctx *Context, args *LookupStandardArgs, opts ...InvokeOption) (*LookupStandardResult, error)
func LookupStandardOutput(ctx *Context, args *LookupStandardOutputArgs, opts ...InvokeOption) LookupStandardResultOutput
> Note: This function is named LookupStandard
in the Go SDK.
public static class GetStandard
{
public static Task<GetStandardResult> InvokeAsync(GetStandardArgs args, InvokeOptions? opts = null)
public static Output<GetStandardResult> Invoke(GetStandardInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStandardResult> getStandard(GetStandardArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:securityhub:getStandard
arguments:
# arguments dictionary
The following arguments are supported:
- Standards
Subscription stringArn - The ARN of a resource that represents your subscription to a supported standard.
- Standards
Subscription stringArn - The ARN of a resource that represents your subscription to a supported standard.
- standards
Subscription StringArn - The ARN of a resource that represents your subscription to a supported standard.
- standards
Subscription stringArn - The ARN of a resource that represents your subscription to a supported standard.
- standards_
subscription_ strarn - The ARN of a resource that represents your subscription to a supported standard.
- standards
Subscription StringArn - The ARN of a resource that represents your subscription to a supported standard.
getStandard Result
The following output properties are available:
- Disabled
Standards List<Pulumi.Controls Aws Native. Security Hub. Outputs. Standards Control> - Specifies which controls are to be disabled in a standard.
Maximum:
100
- Standards
Subscription stringArn - The ARN of a resource that represents your subscription to a supported standard.
- Disabled
Standards []StandardsControls Control - Specifies which controls are to be disabled in a standard.
Maximum:
100
- Standards
Subscription stringArn - The ARN of a resource that represents your subscription to a supported standard.
- disabled
Standards List<StandardsControls Control> - Specifies which controls are to be disabled in a standard.
Maximum:
100
- standards
Subscription StringArn - The ARN of a resource that represents your subscription to a supported standard.
- disabled
Standards StandardsControls Control[] - Specifies which controls are to be disabled in a standard.
Maximum:
100
- standards
Subscription stringArn - The ARN of a resource that represents your subscription to a supported standard.
- disabled_
standards_ Sequence[Standardscontrols Control] - Specifies which controls are to be disabled in a standard.
Maximum:
100
- standards_
subscription_ strarn - The ARN of a resource that represents your subscription to a supported standard.
- disabled
Standards List<Property Map>Controls - Specifies which controls are to be disabled in a standard.
Maximum:
100
- standards
Subscription StringArn - The ARN of a resource that represents your subscription to a supported standard.
Supporting Types
StandardsControl
- Standards
Control stringArn - The Amazon Resource Name (ARN) of the control.
- Reason string
- A user-defined reason for changing a control's enablement status in a specified standard. If you are disabling a control, then this property is required.
- Standards
Control stringArn - The Amazon Resource Name (ARN) of the control.
- Reason string
- A user-defined reason for changing a control's enablement status in a specified standard. If you are disabling a control, then this property is required.
- standards
Control StringArn - The Amazon Resource Name (ARN) of the control.
- reason String
- A user-defined reason for changing a control's enablement status in a specified standard. If you are disabling a control, then this property is required.
- standards
Control stringArn - The Amazon Resource Name (ARN) of the control.
- reason string
- A user-defined reason for changing a control's enablement status in a specified standard. If you are disabling a control, then this property is required.
- standards_
control_ strarn - The Amazon Resource Name (ARN) of the control.
- reason str
- A user-defined reason for changing a control's enablement status in a specified standard. If you are disabling a control, then this property is required.
- standards
Control StringArn - The Amazon Resource Name (ARN) of the control.
- reason String
- A user-defined reason for changing a control's enablement status in a specified standard. If you are disabling a control, then this property is required.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.