How pass named arguments with parameters to aws batch?

Consider piece of aws batch job definition:

MyJobDefinition:
    Type: "AWS::Batch::JobDefinition"
    Properties:
        Type: container
        Parameters: {}
        JobDefinitionName: "my-job-name"
        ContainerProperties:
            Command:
                - "java"
                - "-jar"
                - "my-application-SNAPSHOT.jar"
                - "--param1"
                - "Ref::param1"
                - "--param2"
                - "Ref::param2"

Which result to call:

java -jar my-application-SNAPSHOT.jar --param1 someValue1 --param2 someValue2

How change job definition to make it llike that (notice equal sign):

java -jar my-application-SNAPSHOT.jar --param1=someValue1 --param2=someValue2

Please note that Ref::param1 it is not cloudformation template params, but aws batch job params.

#aws #docker

25.60 GEEK