Skip to content

Commit f667b99

Browse files
This release adds support for IPv6-only instance plans.
AWS Private CA now supports an option to omit the CDP extension from issued certificates, when CRL revocation is enabled.
1 parent d1fa2bd commit f667b99

File tree

15 files changed

+518
-143
lines changed

15 files changed

+518
-143
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.250
1+
1.11.251

generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/CrlConfiguration.h

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <aws/acm-pca/ACMPCA_EXPORTS.h>
88
#include <aws/core/utils/memory/stl/AWSString.h>
99
#include <aws/acm-pca/model/S3ObjectAcl.h>
10+
#include <aws/acm-pca/model/CrlDistributionPointExtensionConfiguration.h>
1011
#include <utility>
1112

1213
namespace Aws
@@ -31,9 +32,11 @@ namespace Model
3132
* the <b>Enabled</b> parameter to <code>true</code>. Your private CA writes CRLs
3233
* to an S3 bucket that you specify in the <b>S3BucketName</b> parameter. You can
3334
* hide the name of your bucket by specifying a value for the <b>CustomCname</b>
34-
* parameter. Your private CA copies the CNAME or the S3 bucket name to the <b>CRL
35-
* Distribution Points</b> extension of each certificate it issues. Your S3 bucket
36-
* policy must give write permission to Amazon Web Services Private CA. </p>
35+
* parameter. Your private CA by default copies the CNAME or the S3 bucket name to
36+
* the <b>CRL Distribution Points</b> extension of each certificate it issues. If
37+
* you want to configure this default behavior to be something different, you can
38+
* set the <b>CrlDistributionPointExtensionConfiguration</b> parameter. Your S3
39+
* bucket policy must give write permission to Amazon Web Services Private CA. </p>
3740
* <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be
3841
* protected with encryption. For more information, see <a
3942
* href="https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#crl-encryption">Encrypting
@@ -476,6 +479,55 @@ namespace Model
476479
*/
477480
inline CrlConfiguration& WithS3ObjectAcl(S3ObjectAcl&& value) { SetS3ObjectAcl(std::move(value)); return *this;}
478481

482+
483+
/**
484+
* <p>Configures the behavior of the CRL Distribution Point extension for
485+
* certificates issued by your certificate authority. If this field is not
486+
* provided, then the CRl Distribution Point Extension will be present and contain
487+
* the default CRL URL.</p>
488+
*/
489+
inline const CrlDistributionPointExtensionConfiguration& GetCrlDistributionPointExtensionConfiguration() const{ return m_crlDistributionPointExtensionConfiguration; }
490+
491+
/**
492+
* <p>Configures the behavior of the CRL Distribution Point extension for
493+
* certificates issued by your certificate authority. If this field is not
494+
* provided, then the CRl Distribution Point Extension will be present and contain
495+
* the default CRL URL.</p>
496+
*/
497+
inline bool CrlDistributionPointExtensionConfigurationHasBeenSet() const { return m_crlDistributionPointExtensionConfigurationHasBeenSet; }
498+
499+
/**
500+
* <p>Configures the behavior of the CRL Distribution Point extension for
501+
* certificates issued by your certificate authority. If this field is not
502+
* provided, then the CRl Distribution Point Extension will be present and contain
503+
* the default CRL URL.</p>
504+
*/
505+
inline void SetCrlDistributionPointExtensionConfiguration(const CrlDistributionPointExtensionConfiguration& value) { m_crlDistributionPointExtensionConfigurationHasBeenSet = true; m_crlDistributionPointExtensionConfiguration = value; }
506+
507+
/**
508+
* <p>Configures the behavior of the CRL Distribution Point extension for
509+
* certificates issued by your certificate authority. If this field is not
510+
* provided, then the CRl Distribution Point Extension will be present and contain
511+
* the default CRL URL.</p>
512+
*/
513+
inline void SetCrlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfiguration&& value) { m_crlDistributionPointExtensionConfigurationHasBeenSet = true; m_crlDistributionPointExtensionConfiguration = std::move(value); }
514+
515+
/**
516+
* <p>Configures the behavior of the CRL Distribution Point extension for
517+
* certificates issued by your certificate authority. If this field is not
518+
* provided, then the CRl Distribution Point Extension will be present and contain
519+
* the default CRL URL.</p>
520+
*/
521+
inline CrlConfiguration& WithCrlDistributionPointExtensionConfiguration(const CrlDistributionPointExtensionConfiguration& value) { SetCrlDistributionPointExtensionConfiguration(value); return *this;}
522+
523+
/**
524+
* <p>Configures the behavior of the CRL Distribution Point extension for
525+
* certificates issued by your certificate authority. If this field is not
526+
* provided, then the CRl Distribution Point Extension will be present and contain
527+
* the default CRL URL.</p>
528+
*/
529+
inline CrlConfiguration& WithCrlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfiguration&& value) { SetCrlDistributionPointExtensionConfiguration(std::move(value)); return *this;}
530+
479531
private:
480532

481533
bool m_enabled;
@@ -492,6 +544,9 @@ namespace Model
492544

493545
S3ObjectAcl m_s3ObjectAcl;
494546
bool m_s3ObjectAclHasBeenSet = false;
547+
548+
CrlDistributionPointExtensionConfiguration m_crlDistributionPointExtensionConfiguration;
549+
bool m_crlDistributionPointExtensionConfigurationHasBeenSet = false;
495550
};
496551

497552
} // namespace Model
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/acm-pca/ACMPCA_EXPORTS.h>
8+
9+
namespace Aws
10+
{
11+
namespace Utils
12+
{
13+
namespace Json
14+
{
15+
class JsonValue;
16+
class JsonView;
17+
} // namespace Json
18+
} // namespace Utils
19+
namespace ACMPCA
20+
{
21+
namespace Model
22+
{
23+
24+
/**
25+
* <p>Contains configuration information for the default behavior of the CRL
26+
* Distribution Point (CDP) extension in certificates issued by your CA. This
27+
* extension contains a link to download the CRL, so you can check whether a
28+
* certificate has been revoked. To choose whether you want this extension omitted
29+
* or not in certificates issued by your CA, you can set the <b>OmitExtension</b>
30+
* parameter.</p><p><h3>See Also:</h3> <a
31+
* href="http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CrlDistributionPointExtensionConfiguration">AWS
32+
* API Reference</a></p>
33+
*/
34+
class CrlDistributionPointExtensionConfiguration
35+
{
36+
public:
37+
AWS_ACMPCA_API CrlDistributionPointExtensionConfiguration();
38+
AWS_ACMPCA_API CrlDistributionPointExtensionConfiguration(Aws::Utils::Json::JsonView jsonValue);
39+
AWS_ACMPCA_API CrlDistributionPointExtensionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
40+
AWS_ACMPCA_API Aws::Utils::Json::JsonValue Jsonize() const;
41+
42+
43+
/**
44+
* <p>Configures whether the CRL Distribution Point extension should be populated
45+
* with the default URL to the CRL. If set to <code>true</code>, then the CDP
46+
* extension will not be present in any certificates issued by that CA unless
47+
* otherwise specified through CSR or API passthrough.</p> <p>Only set this
48+
* if you have another way to distribute the CRL Distribution Points ffor
49+
* certificates issued by your CA, such as the Matter Distributed Compliance
50+
* Ledger</p> <p>This configuration cannot be enabled with a custom CNAME set.</p>
51+
*
52+
*/
53+
inline bool GetOmitExtension() const{ return m_omitExtension; }
54+
55+
/**
56+
* <p>Configures whether the CRL Distribution Point extension should be populated
57+
* with the default URL to the CRL. If set to <code>true</code>, then the CDP
58+
* extension will not be present in any certificates issued by that CA unless
59+
* otherwise specified through CSR or API passthrough.</p> <p>Only set this
60+
* if you have another way to distribute the CRL Distribution Points ffor
61+
* certificates issued by your CA, such as the Matter Distributed Compliance
62+
* Ledger</p> <p>This configuration cannot be enabled with a custom CNAME set.</p>
63+
*
64+
*/
65+
inline bool OmitExtensionHasBeenSet() const { return m_omitExtensionHasBeenSet; }
66+
67+
/**
68+
* <p>Configures whether the CRL Distribution Point extension should be populated
69+
* with the default URL to the CRL. If set to <code>true</code>, then the CDP
70+
* extension will not be present in any certificates issued by that CA unless
71+
* otherwise specified through CSR or API passthrough.</p> <p>Only set this
72+
* if you have another way to distribute the CRL Distribution Points ffor
73+
* certificates issued by your CA, such as the Matter Distributed Compliance
74+
* Ledger</p> <p>This configuration cannot be enabled with a custom CNAME set.</p>
75+
*
76+
*/
77+
inline void SetOmitExtension(bool value) { m_omitExtensionHasBeenSet = true; m_omitExtension = value; }
78+
79+
/**
80+
* <p>Configures whether the CRL Distribution Point extension should be populated
81+
* with the default URL to the CRL. If set to <code>true</code>, then the CDP
82+
* extension will not be present in any certificates issued by that CA unless
83+
* otherwise specified through CSR or API passthrough.</p> <p>Only set this
84+
* if you have another way to distribute the CRL Distribution Points ffor
85+
* certificates issued by your CA, such as the Matter Distributed Compliance
86+
* Ledger</p> <p>This configuration cannot be enabled with a custom CNAME set.</p>
87+
*
88+
*/
89+
inline CrlDistributionPointExtensionConfiguration& WithOmitExtension(bool value) { SetOmitExtension(value); return *this;}
90+
91+
private:
92+
93+
bool m_omitExtension;
94+
bool m_omitExtensionHasBeenSet = false;
95+
};
96+
97+
} // namespace Model
98+
} // namespace ACMPCA
99+
} // namespace Aws

generated/src/aws-cpp-sdk-acm-pca/include/aws/acm-pca/model/ListCertificateAuthoritiesRequest.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ namespace Model
9797
* items to return in the response on each page. If additional items exist beyond
9898
* the number you specify, the <code>NextToken</code> element is sent in the
9999
* response. Use this <code>NextToken</code> value in a subsequent request to
100-
* retrieve additional items.</p>
100+
* retrieve additional items.</p> <p>Although the maximum value is 1000, the action
101+
* only returns a maximum of 100 items.</p>
101102
*/
102103
inline int GetMaxResults() const{ return m_maxResults; }
103104

@@ -106,7 +107,8 @@ namespace Model
106107
* items to return in the response on each page. If additional items exist beyond
107108
* the number you specify, the <code>NextToken</code> element is sent in the
108109
* response. Use this <code>NextToken</code> value in a subsequent request to
109-
* retrieve additional items.</p>
110+
* retrieve additional items.</p> <p>Although the maximum value is 1000, the action
111+
* only returns a maximum of 100 items.</p>
110112
*/
111113
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
112114

@@ -115,7 +117,8 @@ namespace Model
115117
* items to return in the response on each page. If additional items exist beyond
116118
* the number you specify, the <code>NextToken</code> element is sent in the
117119
* response. Use this <code>NextToken</code> value in a subsequent request to
118-
* retrieve additional items.</p>
120+
* retrieve additional items.</p> <p>Although the maximum value is 1000, the action
121+
* only returns a maximum of 100 items.</p>
119122
*/
120123
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
121124

@@ -124,7 +127,8 @@ namespace Model
124127
* items to return in the response on each page. If additional items exist beyond
125128
* the number you specify, the <code>NextToken</code> element is sent in the
126129
* response. Use this <code>NextToken</code> value in a subsequent request to
127-
* retrieve additional items.</p>
130+
* retrieve additional items.</p> <p>Although the maximum value is 1000, the action
131+
* only returns a maximum of 100 items.</p>
128132
*/
129133
inline ListCertificateAuthoritiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
130134

0 commit comments

Comments
 (0)