ConfigService.Paginator.
DescribeConformancePacks
¶paginator = client.get_paginator('describe_conformance_packs')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from ConfigService.Client.describe_conformance_packs()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ConformancePackNames=[
'string',
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
Comma-separated list of conformance pack names for which you want details. If you do not specify any names, Config returns details for all your conformance packs.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'ConformancePackDetails': [
{
'ConformancePackName': 'string',
'ConformancePackArn': 'string',
'ConformancePackId': 'string',
'DeliveryS3Bucket': 'string',
'DeliveryS3KeyPrefix': 'string',
'ConformancePackInputParameters': [
{
'ParameterName': 'string',
'ParameterValue': 'string'
},
],
'LastUpdateRequestedTime': datetime(2015, 1, 1),
'CreatedBy': 'string',
'TemplateSSMDocumentDetails': {
'DocumentName': 'string',
'DocumentVersion': 'string'
}
},
],
}
Response Structure
(dict) --
ConformancePackDetails (list) --
Returns a list of ConformancePackDetail
objects.
(dict) --
Returns details of a conformance pack. A conformance pack is a collection of Config rules and remediation actions that can be easily deployed in an account and a region.
ConformancePackName (string) --
Name of the conformance pack.
ConformancePackArn (string) --
Amazon Resource Name (ARN) of the conformance pack.
ConformancePackId (string) --
ID of the conformance pack.
DeliveryS3Bucket (string) --
The name of the Amazon S3 bucket where Config stores conformance pack templates.
Note
This field is optional.
DeliveryS3KeyPrefix (string) --
The prefix for the Amazon S3 bucket.
Note
This field is optional.
ConformancePackInputParameters (list) --
A list of ConformancePackInputParameter
objects.
(dict) --
Input parameters in the form of key-value pairs for the conformance pack, both of which you define. Keys can have a maximum character length of 255 characters, and values can have a maximum length of 4096 characters.
ParameterName (string) --
One part of a key-value pair.
ParameterValue (string) --
Another part of the key-value pair.
LastUpdateRequestedTime (datetime) --
The last time a conformation pack update was requested.
CreatedBy (string) --
The Amazon Web Services service that created the conformance pack.
TemplateSSMDocumentDetails (dict) --
An object that contains the name or Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.
DocumentName (string) --
The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, Config checks only your account and Amazon Web Services Region for the SSM document. If you want to use an SSM document from another Region or account, you must provide the ARN.
DocumentVersion (string) --
The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.
Note
This field is optional.