public static Condition newSecureTransportCondition() {
        return new BooleanCondition(SECURE_TRANSPORT_CONDITION_KEY, true);
    }
Constructs a new access control policy condition that tests if the
incoming request was sent over a secure transport (HTTPS).

@return A new access control policy condition that tests if the incoming
        request was sent over a secure transport (HTTPS).
aws-java-sdk-core/src/main/java/com/amazonaws/auth/policy/conditions/ConditionFactory.java