{
  "Name" : "ec2-instance-connect",
  "Actions" : [ {
    "Name" : "OpenTunnel",
    "Annotations" : {
      "Properties" : {
        "IsList" : false,
        "IsPermissionManagement" : false,
        "IsTaggingOnly" : false,
        "IsWrite" : true
      }
    },
    "Resources" : [ {
      "Name" : "instance-connect-endpoint"
    }, {
      "Name" : "instance-connect-endpoint",
      "ConditionKeys" : [ "aws:ResourceTag/${TagKey}", "ec2-instance-connect:MaxTunnelDuration", "ec2-instance-connect:privateIpAddress", "ec2-instance-connect:remotePort", "ec2:ResourceTag/${TagKey}" ]
    } ],
    "SupportedBy" : {
      "IAM Access Analyzer Policy Generation" : false,
      "IAM Action Last Accessed" : false
    }
  }, {
    "Name" : "SendSSHPublicKey",
    "ActionConditionKeys" : [ "ec2:osuser" ],
    "Annotations" : {
      "Properties" : {
        "IsList" : false,
        "IsPermissionManagement" : false,
        "IsTaggingOnly" : false,
        "IsWrite" : true
      }
    },
    "Resources" : [ {
      "Name" : "instance"
    } ],
    "SupportedBy" : {
      "IAM Access Analyzer Policy Generation" : false,
      "IAM Action Last Accessed" : false
    }
  }, {
    "Name" : "SendSerialConsoleSSHPublicKey",
    "Annotations" : {
      "Properties" : {
        "IsList" : false,
        "IsPermissionManagement" : false,
        "IsTaggingOnly" : false,
        "IsWrite" : true
      }
    },
    "Resources" : [ {
      "Name" : "instance"
    } ],
    "SupportedBy" : {
      "IAM Access Analyzer Policy Generation" : false,
      "IAM Action Last Accessed" : false
    }
  } ],
  "ConditionKeys" : [ {
    "Name" : "aws:ResourceTag/${TagKey}",
    "Types" : [ "String" ]
  }, {
    "Name" : "ec2-instance-connect:maxTunnelDuration",
    "Types" : [ "Numeric" ]
  }, {
    "Name" : "ec2-instance-connect:privateIpAddress",
    "Types" : [ "IPAddress" ]
  }, {
    "Name" : "ec2-instance-connect:remotePort",
    "Types" : [ "Numeric" ]
  }, {
    "Name" : "ec2:ResourceTag/${TagKey}",
    "Types" : [ "String" ]
  }, {
    "Name" : "ec2:osuser",
    "Types" : [ "String" ]
  } ],
  "Operations" : [ {
    "Name" : "SendSSHPublicKey",
    "AuthorizedActions" : [ {
      "Name" : "SendSSHPublicKey",
      "Service" : "ec2-instance-connect"
    } ],
    "SDK" : [ {
      "Name" : "ec2-instance-connect",
      "Method" : "send_ssh_public_key",
      "Package" : "Boto3"
    } ]
  }, {
    "Name" : "SendSerialConsoleSSHPublicKey",
    "AuthorizedActions" : [ {
      "Name" : "SendSerialConsoleSSHPublicKey",
      "Service" : "ec2-instance-connect"
    } ],
    "SDK" : [ {
      "Name" : "ec2-instance-connect",
      "Method" : "send_serial_console_ssh_public_key",
      "Package" : "Boto3"
    } ]
  } ],
  "Resources" : [ {
    "Name" : "instance",
    "ARNFormats" : [ "arn:${Partition}:ec2:${Region}:${Account}:instance/${InstanceId}" ],
    "ConditionKeys" : [ "aws:ResourceTag/${TagKey}", "ec2:ResourceTag/${TagKey}" ]
  }, {
    "Name" : "instance-connect-endpoint",
    "ARNFormats" : [ "arn:${Partition}:ec2:${Region}:${Account}:instance-connect-endpoint/${InstanceConnectEndpointId}" ],
    "ConditionKeys" : [ "aws:ResourceTag/${TagKey}", "ec2:ResourceTag/${TagKey}" ]
  } ],
  "Version" : "v1.4"
}