AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the response object from the BatchGetConfigurationPolicyAssociations operation.
Namespace: Amazon.SecurityHub.Model
Assembly: AWSSDK.SecurityHub.dll
Version: 3.x.y.z
public class BatchGetConfigurationPolicyAssociationsResponse : AmazonWebServiceResponse
The BatchGetConfigurationPolicyAssociationsResponse type exposes the following members
Name | Description | |
---|---|---|
BatchGetConfigurationPolicyAssociationsResponse() |
Name | Type | Description | |
---|---|---|---|
ConfigurationPolicyAssociations | System.Collections.Generic.List<Amazon.SecurityHub.Model.ConfigurationPolicyAssociationSummary> |
Gets and sets the property ConfigurationPolicyAssociations. Describes associations for the target accounts, OUs, or the root. |
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
UnprocessedConfigurationPolicyAssociations | System.Collections.Generic.List<Amazon.SecurityHub.Model.UnprocessedConfigurationPolicyAssociation> |
Gets and sets the property UnprocessedConfigurationPolicyAssociations. An array of configuration policy associations, one for each configuration policy association identifier, that was specified in the request but couldn’t be processed due to an error. |
This operation provides details about configuration associations for a batch of target accounts, organizational units, or the root.
var client = new AmazonSecurityHubClient(); var response = client.BatchGetConfigurationPolicyAssociations(new BatchGetConfigurationPolicyAssociationsRequest { ConfigurationPolicyAssociationIdentifiers = new List<ConfigurationPolicyAssociation> { new ConfigurationPolicyAssociation { Target = new Target { AccountId = "111122223333" } }, new ConfigurationPolicyAssociation { Target = new Target { RootId = "r-f6g7h8i9j0example" } } } }); List<ConfigurationPolicyAssociationSummary> configurationPolicyAssociations = response.ConfigurationPolicyAssociations; List<UnprocessedConfigurationPolicyAssociation> unprocessedConfigurationPolicyAssociations = response.UnprocessedConfigurationPolicyAssociations;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5