This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowViewAccountInfo", | |
"Effect": "Allow", | |
"Action": [ | |
"iam:ListVirtualMFADevices", | |
"iam:GetAccountPasswordPolicy" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/html" settings> | |
<div class="padding npb"> | |
<div class="m" data-jc="textbox" data-jc-path="image_url" data-jc-config="required:true;icon:envelope">Image URL</div> | |
</div> | |
</script> | |
<script> | |
// {String}, IMPORTANT (lower case without diacritics) | |
exports.name = 'imagedisplay'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAMESPACE=$1 | |
if [ -z $1 ]; then | |
NAMESPACE="default" | |
exit 1 | |
fi | |
echo "Using namespace \"${NAMESPACE}\"." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ------------------------------------------------------------------------------ | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# <rohja@rohja.com> wrote this file. As long as you retain this notice you can | |
# do whatever you want with this stuff. If we meet some day, and you think this | |
# stuff is worth it, you can buy me a beer in return. Paul "Rohja" Lesellier | |
# ------------------------------------------------------------------------------ | |
# | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import graphene | |
import boto3 | |
class Cluster(graphene.ObjectType): | |
arn = graphene.String(description='Cluster ARN') | |
name = graphene.String(description='Cluster Name') | |
status = graphene.String(description='Cluster Status') | |
registeredContainerInstancesCount = graphene.Int(description='Container Instances Count') | |
runningTasksCount = graphene.Int(description='Running Tasks Count') |