def __init__(self, aws_properties): GenericClient.__init__(self, aws_properties) self.lambda_properties = aws_properties['lambda'] self.batch_properties = aws_properties['batch'] self.iam_properties = aws_properties['iam'] self.instance_role = "arn:aws:iam::{0}:instance-profile/ecsInstanceRole".format(aws_properties['account_id']) self.service_role = "arn:aws:iam::{0}:role/service-role/AWSBatchServiceRole".format(aws_properties['account_id'])
def __init__(self, aws_properties): GenericClient.__init__(self, aws_properties) self.properties = aws_properties['lambda'] self.properties['environment'] = {'Variables': {}} self.properties['zip_file_path'] = utils.join_paths( utils.get_temp_dir(), 'function.zip') self.properties['invocation_type'] = 'RequestResponse' self.properties['log_type'] = 'Tail' if 'name' in self.properties: self.properties['handler'] = "{0}.lambda_handler".format( self.properties['name']) if 'asynchronous' not in self.properties: self.properties['asynchronous'] = False
def __init__(self, aws_properties): GenericClient.__init__(self, aws_properties) self.properties = aws_properties['api_gateway'] self.set_api_lambda_uri()
def __init__(self, aws_properties): GenericClient.__init__(self, aws_properties) self.properties = self.aws_properties['cloudwatch']
def __init__(self, aws_properties): GenericClient.__init__(self, aws_properties) self.properties = aws_properties['s3'] self.parse_input_folder()
def __init__(self, aws_properties): GenericClient.__init__(self, aws_properties) self.aws_properties = aws_properties self.lambda_properties = aws_properties['lambda'] self.batch_properties = aws_properties['batch'] self.iam_properties = aws_properties['iam']