Skip to content

Commit b3017b7

Browse files
stephswoeasymrgr
authored andcommitted
Define and use TCX5 waiver for AsciiDoc
cr: https://code.amazon.com/reviews/CR-224677391
1 parent fbead68 commit b3017b7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

v2/guide/testing.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ include::attributes.txt[]
66
[.topic]
77
[#testing]
88
= Test {aws} CDK applications
9+
:tcx5-2025-waiver: 		 	 	 
910

1011
// Content start
1112

@@ -869,7 +870,7 @@ TypeScript::
869870
"{aws}::IAM::Role",
870871
Match.objectEquals({
871872
AssumeRolePolicyDocument: {
872-
Version: "2012-10-17",&TCX5-2025-waiver;
873+
Version: "2012-10-17",{tcx5-2025-waiver}
873874
Statement: [
874875
{
875876
Action: "sts:AssumeRole",
@@ -898,7 +899,7 @@ JavaScript::
898899
"{aws}::IAM::Role",
899900
Match.objectEquals({
900901
AssumeRolePolicyDocument: {
901-
Version: "2012-10-17",&TCX5-2025-waiver;
902+
Version: "2012-10-17",{tcx5-2025-waiver}
902903
Statement: [
903904
{
904905
Action: "sts:AssumeRole",
@@ -930,7 +931,7 @@ from aws_cdk.assertions import Match
930931
Match.object_equals(
931932
{
932933
"AssumeRolePolicyDocument": {
933-
"Version": "2012-10-17",&TCX5-2025-waiver;
934+
"Version": "2012-10-17",{tcx5-2025-waiver}
934935
"Statement": [
935936
{
936937
"Action": "sts:AssumeRole",
@@ -962,7 +963,7 @@ Java::
962963
// Fully assert on the state machine's IAM role with matchers.
963964
template.hasResourceProperties("{aws}::IAM::Role", Match.objectEquals(
964965
Collections.singletonMap("AssumeRolePolicyDocument", Map.of(
965-
"Version", "2012-10-17",&TCX5-2025-waiver;
966+
"Version", "2012-10-17",{tcx5-2025-waiver}
966967
"Statement", Collections.singletonList(Map.of(
967968
"Action", "sts:AssumeRole",
968969
"Effect", "Allow",
@@ -988,11 +989,11 @@ C#::
988989
{
989990
{ "AssumeRolePolicyDocument", new ObjectDict
990991
{
991-
{ "Version", "2012-10-17"&TCX5-2025-waiver; },
992+
{ "Version", "2012-10-17"{tcx5-2025-waiver} },
992993
{ "Action", "sts:AssumeRole" },
993994
{ "Principal", new ObjectDict
994995
{
995-
{ "Version", "2012-10-17"&TCX5-2025-waiver; },
996+
{ "Version", "2012-10-17"{tcx5-2025-waiver} },
996997
{ "Statement", new object[]
997998
{
998999
new ObjectDict {

0 commit comments

Comments
 (0)