Show / Hide Table of Contents

Class CfnPolicyAssociation

The AWS::SecurityHub::PolicyAssociation resource specifies associations for a configuration policy or a self-managed configuration.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnPolicyAssociation
Implements
IInspectable
IPolicyAssociationRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.SecurityHub
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPolicyAssociation : CfnResource, IInspectable, IPolicyAssociationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnPolicyAssociation Inherits CfnResource Implements IInspectable, IPolicyAssociationRef, IConstruct, IDependable, IEnvironmentAware
Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.SecurityHub;

             var cfnPolicyAssociation = new CfnPolicyAssociation(this, "MyCfnPolicyAssociation", new CfnPolicyAssociationProps {
                 ConfigurationPolicyId = "configurationPolicyId",
                 TargetId = "targetId",
                 TargetType = "targetType"
             });

Synopsis

Constructors

CfnPolicyAssociation(Construct, string, ICfnPolicyAssociationProps)

Create a new AWS::SecurityHub::PolicyAssociation.

Properties

AttrAssociationIdentifier

The association identifier, formatted as TargetType/TargetId .

AttrAssociationStatus

The current status of the association between the specified target and the configuration.

AttrAssociationStatusMessage

The explanation for a FAILED value for AssociationStatus .

AttrAssociationType

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.

AttrUpdatedAt

The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

The AWS::SecurityHub::PolicyAssociation resource specifies associations for a configuration policy or a self-managed configuration.

ConfigurationPolicyId

The universally unique identifier (UUID) of the configuration policy.

PolicyAssociationRef

A reference to a PolicyAssociation resource.

TargetId

The identifier of the target account, organizational unit, or the root.

TargetType

Specifies whether the target is an AWS account , organizational unit, or the root.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnPolicyAssociation(object)

Checks whether the given object is a CfnPolicyAssociation.

RenderProperties(IDictionary<string, object>)

The AWS::SecurityHub::PolicyAssociation resource specifies associations for a configuration policy or a self-managed configuration.

Constructors

CfnPolicyAssociation(Construct, string, ICfnPolicyAssociationProps)

Create a new AWS::SecurityHub::PolicyAssociation.

public CfnPolicyAssociation(Construct scope, string id, ICfnPolicyAssociationProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnPolicyAssociationProps

Resource properties.

Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

Properties

AttrAssociationIdentifier

The association identifier, formatted as TargetType/TargetId .

public virtual string AttrAssociationIdentifier { get; }
Property Value

string

Remarks

For example, ACCOUNT/123456789012 .

CloudformationAttribute: AssociationIdentifier

AttrAssociationStatus

The current status of the association between the specified target and the configuration.

public virtual string AttrAssociationStatus { get; }
Property Value

string

Remarks

CloudformationAttribute: AssociationStatus

AttrAssociationStatusMessage

The explanation for a FAILED value for AssociationStatus .

public virtual string AttrAssociationStatusMessage { get; }
Property Value

string

Remarks

CloudformationAttribute: AssociationStatusMessage

AttrAssociationType

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.

public virtual string AttrAssociationType { get; }
Property Value

string

Remarks

CloudformationAttribute: AssociationType

AttrUpdatedAt

The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.

public virtual string AttrUpdatedAt { get; }
Property Value

string

Remarks

CloudformationAttribute: UpdatedAt

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

CfnProperties

The AWS::SecurityHub::PolicyAssociation resource specifies associations for a configuration policy or a self-managed configuration.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

ConfigurationPolicyId

The universally unique identifier (UUID) of the configuration policy.

public virtual string ConfigurationPolicyId { get; set; }
Property Value

string

Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

PolicyAssociationRef

A reference to a PolicyAssociation resource.

public virtual IPolicyAssociationReference PolicyAssociationRef { get; }
Property Value

IPolicyAssociationReference

Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

TargetId

The identifier of the target account, organizational unit, or the root.

public virtual string TargetId { get; set; }
Property Value

string

Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

TargetType

Specifies whether the target is an AWS account , organizational unit, or the root.

public virtual string TargetType { get; set; }
Property Value

string

Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

IsCfnPolicyAssociation(object)

Checks whether the given object is a CfnPolicyAssociation.

public static bool IsCfnPolicyAssociation(object x)
Parameters
x object
Returns

bool

Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

The AWS::SecurityHub::PolicyAssociation resource specifies associations for a configuration policy or a self-managed configuration.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

You can associate a Security Hub configuration policy or self-managed configuration with the organization root, organizational units (OUs), or AWS accounts . After a successful association, the configuration policy takes effect in the specified targets. For more information, see Creating and associating Security Hub configuration policies in the Security Hub User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-policyassociation.html

CloudformationResource: AWS::SecurityHub::PolicyAssociation

ExampleMetadata: fixture=_generated

Implements

IInspectable
IPolicyAssociationRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX