1. Packages
  2. AWS Native
  3. API Docs
  4. securityhub
  5. getStandard

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.securityhub.getStandard

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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:

    StandardsSubscriptionArn string
    The ARN of a resource that represents your subscription to a supported standard.
    StandardsSubscriptionArn string
    The ARN of a resource that represents your subscription to a supported standard.
    standardsSubscriptionArn String
    The ARN of a resource that represents your subscription to a supported standard.
    standardsSubscriptionArn string
    The ARN of a resource that represents your subscription to a supported standard.
    standards_subscription_arn str
    The ARN of a resource that represents your subscription to a supported standard.
    standardsSubscriptionArn String
    The ARN of a resource that represents your subscription to a supported standard.

    getStandard Result

    The following output properties are available:

    DisabledStandardsControls List<Pulumi.AwsNative.SecurityHub.Outputs.StandardsControl>
    Specifies which controls are to be disabled in a standard. Maximum: 100
    StandardsSubscriptionArn string
    The ARN of a resource that represents your subscription to a supported standard.
    DisabledStandardsControls []StandardsControl
    Specifies which controls are to be disabled in a standard. Maximum: 100
    StandardsSubscriptionArn string
    The ARN of a resource that represents your subscription to a supported standard.
    disabledStandardsControls List<StandardsControl>
    Specifies which controls are to be disabled in a standard. Maximum: 100
    standardsSubscriptionArn String
    The ARN of a resource that represents your subscription to a supported standard.
    disabledStandardsControls StandardsControl[]
    Specifies which controls are to be disabled in a standard. Maximum: 100
    standardsSubscriptionArn string
    The ARN of a resource that represents your subscription to a supported standard.
    disabled_standards_controls Sequence[StandardsControl]
    Specifies which controls are to be disabled in a standard. Maximum: 100
    standards_subscription_arn str
    The ARN of a resource that represents your subscription to a supported standard.
    disabledStandardsControls List<Property Map>
    Specifies which controls are to be disabled in a standard. Maximum: 100
    standardsSubscriptionArn String
    The ARN of a resource that represents your subscription to a supported standard.

    Supporting Types

    StandardsControl

    StandardsControlArn string
    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.
    StandardsControlArn string
    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.
    standardsControlArn String
    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.
    standardsControlArn string
    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_arn str
    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.
    standardsControlArn String
    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
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi