skip to Main Content

Amazon web services – How to reference JSON values from a parameter store using a AwsCustomResource in AWS CDK?

I have been using the solution proposed here (https://stackoverflow.com/a/59774628/91403) in order to access configurations stored in an AWS parameter. export class SSMParameterReader extends AwsCustomResource { constructor(scope: Construct, name: string, props: SSMParameterReaderProps) { const { parameterName, region } = props; const…

VIEW QUESTION

Amazon web services – how to set interval in lambda start job

I have lambda that stops a running job and start a different glue job. It goes like this: def lambda_handler(event, context): client = boto3.client('glue') body = json.loads(event['body']) job_id_to_stop = body['job_id_to_stop'] job_to_start_argument = body['job_to_start_argument'] client.batch_stop_job_run( #STOP JOB RUN JobName='job-to-stop', JobRunIds=[ job_id_to_stop…

VIEW QUESTION
Back To Top
Search