Skip to content

Commit a2998f0

Browse files
author
AWS
committed
AWS Fault Injection Simulator Update: This release adds logging support for AWS Fault Injection Simulator experiments. Experiment templates can now be configured to send experiment activity logs to Amazon CloudWatch Logs or to an S3 bucket.
1 parent 25b3c87 commit a2998f0

File tree

2 files changed

+188
-0
lines changed

2 files changed

+188
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Fault Injection Simulator",
4+
"contributor": "",
5+
"description": "This release adds logging support for AWS Fault Injection Simulator experiments. Experiment templates can now be configured to send experiment activity logs to Amazon CloudWatch Logs or to an S3 bucket."
6+
}

services/fis/src/main/resources/codegen-resources/service-2.json

Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,12 @@
363363
"min":1,
364364
"pattern":"[\\S]+"
365365
},
366+
"CloudWatchLogGroupArn":{
367+
"type":"string",
368+
"max":2048,
369+
"min":20,
370+
"pattern":"[\\S]+"
371+
},
366372
"ConflictException":{
367373
"type":"structure",
368374
"members":{
@@ -404,6 +410,25 @@
404410
"key":{"shape":"ExperimentTemplateActionName"},
405411
"value":{"shape":"CreateExperimentTemplateActionInput"}
406412
},
413+
"CreateExperimentTemplateLogConfigurationInput":{
414+
"type":"structure",
415+
"required":["logSchemaVersion"],
416+
"members":{
417+
"cloudWatchLogsConfiguration":{
418+
"shape":"ExperimentTemplateCloudWatchLogsLogConfigurationInput",
419+
"documentation":"<p>The configuration for experiment logging to Amazon CloudWatch Logs.</p>"
420+
},
421+
"s3Configuration":{
422+
"shape":"ExperimentTemplateS3LogConfigurationInput",
423+
"documentation":"<p>The configuration for experiment logging to Amazon S3.</p>"
424+
},
425+
"logSchemaVersion":{
426+
"shape":"LogSchemaVersion",
427+
"documentation":"<p>The schema version.</p>"
428+
}
429+
},
430+
"documentation":"<p>Specifies the configuration for experiment logging.</p>"
431+
},
407432
"CreateExperimentTemplateRequest":{
408433
"type":"structure",
409434
"required":[
@@ -442,6 +467,10 @@
442467
"tags":{
443468
"shape":"TagMap",
444469
"documentation":"<p>The tags to apply to the experiment template.</p>"
470+
},
471+
"logConfiguration":{
472+
"shape":"CreateExperimentTemplateLogConfigurationInput",
473+
"documentation":"<p>The configuration for experiment logging.</p>"
445474
}
446475
}
447476
},
@@ -585,6 +614,10 @@
585614
"tags":{
586615
"shape":"TagMap",
587616
"documentation":"<p>The tags for the experiment.</p>"
617+
},
618+
"logConfiguration":{
619+
"shape":"ExperimentLogConfiguration",
620+
"documentation":"<p>The configuration for experiment logging.</p>"
588621
}
589622
},
590623
"documentation":"<p>Describes an experiment.</p>"
@@ -710,12 +743,54 @@
710743
"max":64,
711744
"pattern":"[\\S]+"
712745
},
746+
"ExperimentCloudWatchLogsLogConfiguration":{
747+
"type":"structure",
748+
"members":{
749+
"logGroupArn":{
750+
"shape":"CloudWatchLogGroupArn",
751+
"documentation":"<p>The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.</p>"
752+
}
753+
},
754+
"documentation":"<p>Describes the configuration for experiment logging to Amazon CloudWatch Logs.</p>"
755+
},
713756
"ExperimentEndTime":{"type":"timestamp"},
714757
"ExperimentId":{
715758
"type":"string",
716759
"max":64,
717760
"pattern":"[\\S]+"
718761
},
762+
"ExperimentLogConfiguration":{
763+
"type":"structure",
764+
"members":{
765+
"cloudWatchLogsConfiguration":{
766+
"shape":"ExperimentCloudWatchLogsLogConfiguration",
767+
"documentation":"<p>The configuration for experiment logging to Amazon CloudWatch Logs.</p>"
768+
},
769+
"s3Configuration":{
770+
"shape":"ExperimentS3LogConfiguration",
771+
"documentation":"<p>The configuration for experiment logging to Amazon S3.</p>"
772+
},
773+
"logSchemaVersion":{
774+
"shape":"LogSchemaVersion",
775+
"documentation":"<p>The schema version.</p>"
776+
}
777+
},
778+
"documentation":"<p>Describes the configuration for experiment logging.</p>"
779+
},
780+
"ExperimentS3LogConfiguration":{
781+
"type":"structure",
782+
"members":{
783+
"bucketName":{
784+
"shape":"S3BucketName",
785+
"documentation":"<p>The name of the destination bucket.</p>"
786+
},
787+
"prefix":{
788+
"shape":"S3ObjectKey",
789+
"documentation":"<p>The bucket prefix.</p>"
790+
}
791+
},
792+
"documentation":"<p>Describes the configuration for experiment logging to Amazon S3.</p>"
793+
},
719794
"ExperimentStartTime":{"type":"timestamp"},
720795
"ExperimentState":{
721796
"type":"structure",
@@ -926,6 +1001,10 @@
9261001
"tags":{
9271002
"shape":"TagMap",
9281003
"documentation":"<p>The tags for the experiment template.</p>"
1004+
},
1005+
"logConfiguration":{
1006+
"shape":"ExperimentTemplateLogConfiguration",
1007+
"documentation":"<p>The configuration for experiment logging.</p>"
9291008
}
9301009
},
9311010
"documentation":"<p>Describes an experiment template.</p>"
@@ -1005,6 +1084,27 @@
10051084
"max":64,
10061085
"pattern":"[\\S]+"
10071086
},
1087+
"ExperimentTemplateCloudWatchLogsLogConfiguration":{
1088+
"type":"structure",
1089+
"members":{
1090+
"logGroupArn":{
1091+
"shape":"CloudWatchLogGroupArn",
1092+
"documentation":"<p>The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.</p>"
1093+
}
1094+
},
1095+
"documentation":"<p>Describes the configuration for experiment logging to Amazon CloudWatch Logs.</p>"
1096+
},
1097+
"ExperimentTemplateCloudWatchLogsLogConfigurationInput":{
1098+
"type":"structure",
1099+
"required":["logGroupArn"],
1100+
"members":{
1101+
"logGroupArn":{
1102+
"shape":"CloudWatchLogGroupArn",
1103+
"documentation":"<p>The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.</p>"
1104+
}
1105+
},
1106+
"documentation":"<p>Specifies the configuration for experiment logging to Amazon CloudWatch Logs.</p>"
1107+
},
10081108
"ExperimentTemplateDescription":{
10091109
"type":"string",
10101110
"max":512,
@@ -1015,6 +1115,53 @@
10151115
"max":64,
10161116
"pattern":"[\\S]+"
10171117
},
1118+
"ExperimentTemplateLogConfiguration":{
1119+
"type":"structure",
1120+
"members":{
1121+
"cloudWatchLogsConfiguration":{
1122+
"shape":"ExperimentTemplateCloudWatchLogsLogConfiguration",
1123+
"documentation":"<p>The configuration for experiment logging to Amazon CloudWatch Logs.</p>"
1124+
},
1125+
"s3Configuration":{
1126+
"shape":"ExperimentTemplateS3LogConfiguration",
1127+
"documentation":"<p>The configuration for experiment logging to Amazon S3.</p>"
1128+
},
1129+
"logSchemaVersion":{
1130+
"shape":"LogSchemaVersion",
1131+
"documentation":"<p>The schema version.</p>"
1132+
}
1133+
},
1134+
"documentation":"<p>Describes the configuration for experiment logging.</p>"
1135+
},
1136+
"ExperimentTemplateS3LogConfiguration":{
1137+
"type":"structure",
1138+
"members":{
1139+
"bucketName":{
1140+
"shape":"S3BucketName",
1141+
"documentation":"<p>The name of the destination bucket.</p>"
1142+
},
1143+
"prefix":{
1144+
"shape":"S3ObjectKey",
1145+
"documentation":"<p>The bucket prefix.</p>"
1146+
}
1147+
},
1148+
"documentation":"<p>Describes the configuration for experiment logging to Amazon S3.</p>"
1149+
},
1150+
"ExperimentTemplateS3LogConfigurationInput":{
1151+
"type":"structure",
1152+
"required":["bucketName"],
1153+
"members":{
1154+
"bucketName":{
1155+
"shape":"S3BucketName",
1156+
"documentation":"<p>The name of the destination bucket.</p>"
1157+
},
1158+
"prefix":{
1159+
"shape":"S3ObjectKey",
1160+
"documentation":"<p>The bucket prefix.</p>"
1161+
}
1162+
},
1163+
"documentation":"<p>Specifies the configuration for experiment logging to Amazon S3.</p>"
1164+
},
10181165
"ExperimentTemplateStopCondition":{
10191166
"type":"structure",
10201167
"members":{
@@ -1428,6 +1575,7 @@
14281575
}
14291576
}
14301577
},
1578+
"LogSchemaVersion":{"type":"integer"},
14311579
"NextToken":{
14321580
"type":"string",
14331581
"max":1024,
@@ -1460,6 +1608,18 @@
14601608
"min":20,
14611609
"pattern":"[\\S]+"
14621610
},
1611+
"S3BucketName":{
1612+
"type":"string",
1613+
"max":63,
1614+
"min":3,
1615+
"pattern":"[\\S]+"
1616+
},
1617+
"S3ObjectKey":{
1618+
"type":"string",
1619+
"max":1024,
1620+
"min":1,
1621+
"pattern":"[\\s\\S]+"
1622+
},
14631623
"ServiceQuotaExceededException":{
14641624
"type":"structure",
14651625
"members":{
@@ -1707,6 +1867,24 @@
17071867
"key":{"shape":"ExperimentTemplateActionName"},
17081868
"value":{"shape":"UpdateExperimentTemplateActionInputItem"}
17091869
},
1870+
"UpdateExperimentTemplateLogConfigurationInput":{
1871+
"type":"structure",
1872+
"members":{
1873+
"cloudWatchLogsConfiguration":{
1874+
"shape":"ExperimentTemplateCloudWatchLogsLogConfigurationInput",
1875+
"documentation":"<p>The configuration for experiment logging to Amazon CloudWatch Logs.</p>"
1876+
},
1877+
"s3Configuration":{
1878+
"shape":"ExperimentTemplateS3LogConfigurationInput",
1879+
"documentation":"<p>The configuration for experiment logging to Amazon S3.</p>"
1880+
},
1881+
"logSchemaVersion":{
1882+
"shape":"LogSchemaVersion",
1883+
"documentation":"<p>The schema version.</p>"
1884+
}
1885+
},
1886+
"documentation":"<p>Specifies the configuration for experiment logging.</p>"
1887+
},
17101888
"UpdateExperimentTemplateRequest":{
17111889
"type":"structure",
17121890
"required":["id"],
@@ -1736,6 +1914,10 @@
17361914
"roleArn":{
17371915
"shape":"RoleArn",
17381916
"documentation":"<p>The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.</p>"
1917+
},
1918+
"logConfiguration":{
1919+
"shape":"UpdateExperimentTemplateLogConfigurationInput",
1920+
"documentation":"<p>The configuration for experiment logging.</p>"
17391921
}
17401922
}
17411923
},

0 commit comments

Comments
 (0)