AWS Native is in preview. AWS Classic is fully supported.
aws-native.securityhub.Standard
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
Create Standard Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Standard(name: string, args: StandardArgs, opts?: CustomResourceOptions);
@overload
def Standard(resource_name: str,
args: StandardArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Standard(resource_name: str,
opts: Optional[ResourceOptions] = None,
standards_arn: Optional[str] = None,
disabled_standards_controls: Optional[Sequence[StandardsControlArgs]] = None)
func NewStandard(ctx *Context, name string, args StandardArgs, opts ...ResourceOption) (*Standard, error)
public Standard(string name, StandardArgs args, CustomResourceOptions? opts = null)
public Standard(String name, StandardArgs args)
public Standard(String name, StandardArgs args, CustomResourceOptions options)
type: aws-native:securityhub:Standard
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StandardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StandardArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StandardArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StandardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StandardArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Standard Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Standard resource accepts the following input properties:
- Standards
Arn string - The ARN of the standard that you want to enable. To view a list of available ASH standards and their ARNs, use the DescribeStandards API operation.
- Disabled
Standards List<Pulumi.Controls Aws Native. Security Hub. Inputs. Standards Control> - Specifies which controls are to be disabled in a standard.
Maximum:
100
- Standards
Arn string - The ARN of the standard that you want to enable. To view a list of available ASH standards and their ARNs, use the DescribeStandards API operation.
- Disabled
Standards []StandardsControls Control Args - Specifies which controls are to be disabled in a standard.
Maximum:
100
- standards
Arn String - The ARN of the standard that you want to enable. To view a list of available ASH standards and their ARNs, use the DescribeStandards API operation.
- disabled
Standards List<StandardsControls Control> - Specifies which controls are to be disabled in a standard.
Maximum:
100
- standards
Arn string - The ARN of the standard that you want to enable. To view a list of available ASH standards and their ARNs, use the DescribeStandards API operation.
- disabled
Standards StandardsControls Control[] - Specifies which controls are to be disabled in a standard.
Maximum:
100
- standards_
arn str - The ARN of the standard that you want to enable. To view a list of available ASH standards and their ARNs, use the DescribeStandards API operation.
- disabled_
standards_ Sequence[Standardscontrols Control Args] - Specifies which controls are to be disabled in a standard.
Maximum:
100
- standards
Arn String - The ARN of the standard that you want to enable. To view a list of available ASH standards and their ARNs, use the DescribeStandards API operation.
- disabled
Standards List<Property Map>Controls - Specifies which controls are to be disabled in a standard.
Maximum:
100
Outputs
All input properties are implicitly available as output properties. Additionally, the Standard resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Standards
Subscription stringArn - The ARN of a resource that represents your subscription to a supported standard.
- Id string
- The provider-assigned unique ID for this managed resource.
- Standards
Subscription stringArn - The ARN of a resource that represents your subscription to a supported standard.
- id String
- The provider-assigned unique ID for this managed resource.
- standards
Subscription StringArn - The ARN of a resource that represents your subscription to a supported standard.
- id string
- The provider-assigned unique ID for this managed resource.
- standards
Subscription stringArn - The ARN of a resource that represents your subscription to a supported standard.
- id str
- The provider-assigned unique ID for this managed resource.
- standards_
subscription_ strarn - The ARN of a resource that represents your subscription to a supported standard.
- id String
- The provider-assigned unique ID for this managed resource.
- standards
Subscription StringArn - The ARN of a resource that represents your subscription to a supported standard.
Supporting Types
StandardsControl, StandardsControlArgs
- 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
AWS Native is in preview. AWS Classic is fully supported.