Source code for troposphere.fis

# Copyright (c) 2012-2024, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, AWSProperty, PropsDictType
from .validators import integer


[docs]class ExperimentTemplateAction(AWSProperty): """ `ExperimentTemplateAction <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html>`__ """ props: PropsDictType = { "ActionId": (str, True), "Description": (str, False), "Parameters": (dict, False), "StartAfter": ([str], False), "Targets": (dict, False), }
[docs]class ExperimentTemplateExperimentOptions(AWSProperty): """ `ExperimentTemplateExperimentOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateexperimentoptions.html>`__ """ props: PropsDictType = { "AccountTargeting": (str, False), "EmptyTargetResolutionMode": (str, False), }
[docs]class CloudWatchLogsConfiguration(AWSProperty): """ `CloudWatchLogsConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-cloudwatchlogsconfiguration.html>`__ """ props: PropsDictType = { "LogGroupArn": (str, True), }
[docs]class S3Configuration(AWSProperty): """ `S3Configuration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-s3configuration.html>`__ """ props: PropsDictType = { "BucketName": (str, True), "Prefix": (str, False), }
[docs]class ExperimentTemplateLogConfiguration(AWSProperty): """ `ExperimentTemplateLogConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatelogconfiguration.html>`__ """ props: PropsDictType = { "CloudWatchLogsConfiguration": (CloudWatchLogsConfiguration, False), "LogSchemaVersion": (integer, True), "S3Configuration": (S3Configuration, False), }
[docs]class ExperimentTemplateStopCondition(AWSProperty): """ `ExperimentTemplateStopCondition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatestopcondition.html>`__ """ props: PropsDictType = { "Source": (str, True), "Value": (str, False), }
[docs]class ExperimentTemplateTargetFilter(AWSProperty): """ `ExperimentTemplateTargetFilter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetargetfilter.html>`__ """ props: PropsDictType = { "Path": (str, True), "Values": ([str], True), }
[docs]class ExperimentTemplateTarget(AWSProperty): """ `ExperimentTemplateTarget <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html>`__ """ props: PropsDictType = { "Filters": ([ExperimentTemplateTargetFilter], False), "Parameters": (dict, False), "ResourceArns": ([str], False), "ResourceTags": (dict, False), "ResourceType": (str, True), "SelectionMode": (str, True), }
[docs]class ExperimentTemplate(AWSObject): """ `ExperimentTemplate <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html>`__ """ resource_type = "AWS::FIS::ExperimentTemplate" props: PropsDictType = { "Actions": (dict, False), "Description": (str, True), "ExperimentOptions": (ExperimentTemplateExperimentOptions, False), "LogConfiguration": (ExperimentTemplateLogConfiguration, False), "RoleArn": (str, True), "StopConditions": ([ExperimentTemplateStopCondition], True), "Tags": (dict, True), "Targets": (dict, True), }
[docs]class TargetAccountConfiguration(AWSObject): """ `TargetAccountConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-targetaccountconfiguration.html>`__ """ resource_type = "AWS::FIS::TargetAccountConfiguration" props: PropsDictType = { "AccountId": (str, True), "Description": (str, False), "ExperimentTemplateId": (str, True), "RoleArn": (str, True), }